$gokkasten = Array(
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=819"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1127"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=869"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1294"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=276"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1264"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=300"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1295"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=373"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1281"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=658"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1299"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=849"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1312"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=413"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1237"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=943"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1312"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=266"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1127"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=480"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1264"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=315"></iframe>',
	'<iframe frameborder="0" scrolling="no" style="width: 152px; height: 100px;" src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=652"></iframe>'
);

$tanzoo =  Array(
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=2472"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1802"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1872"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1858"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1886"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=2026"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1788"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1816"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1830"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1844"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1900"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1914"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1928"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1942"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1956"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1970"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1984"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=1998"></iframe>',
	'<iframe   framespacing="0"   frameborder="0"   scrolling="no"   style="width: 152px; height: 100px;"   src="http://www.netgamingsolutions.com/bannersystem.php?affiliateid=101114&promoinfo=Palace&bannerid=2012"></iframe>'
);

$classicjackpot = Array(
'<iframe src="http://www.slotpartners.com/banner.php?banner_id=686&game_id=1005&aff_id=180" width="152" height="100" scrolling="no" frameborder="0"></iframe>',
'<iframe src="http://www.slotpartners.com/banner.php?banner_id=695&game_id=1006&aff_id=180" width="152" height="100" scrolling="no" frameborder="0"></iframe>',
'<iframe src="http://www.slotpartners.com/banner.php?banner_id=704&game_id=1007&aff_id=180" width="152" height="100" scrolling="no" frameborder="0"></iframe>',
'<iframe src="http://www.slotpartners.com/banner.php?banner_id=668&game_id=1001&aff_id=180" width="152" height="100" scrolling="no" frameborder="0"></iframe>',
'<iframe src="http://www.slotpartners.com/banner.php?banner_id=677&game_id=1004&aff_id=180" width="152" height="100" scrolling="no" frameborder="0"></iframe>',
);

$thisPic = 0;

function previous($type) {
	
    if ($thisPic > 0) {
    	
    	$gokkast = document.getElementById('gokkast');

        $thisPic--;
        
        if($type == 1){
        	
        	$gokkast.innerHTML = $gokkasten[$thisPic];
        	
        }else{
        	
        	$gokkast.innerHTML = $tanzoo[$thisPic];
        	
        }
        
    }else if($thisPic == 0) {
		
		$gokkast = document.getElementById('gokkast');
		
		$thisPic = 23;
		
        if($type == 1){
        	
        	$gokkast.innerHTML = $gokkasten[$thisPic];
        	
        }else{
        	
        	$gokkast.innerHTML = $tanzoo[$thisPic];
        	
        }
		
	}
    
}

function next($type) {
	
    if ($thisPic < 23) {
    	
    	$gokkast = document.getElementById('gokkast');

        $thisPic++;        
        
         if($type == 1){
        	
        	$gokkast.innerHTML = $gokkasten[$thisPic];
        	
        }else{
        	
        	$gokkast.innerHTML = $tanzoo[$thisPic];
        	
        }
        
    }else if($thisPic == 23) {
		
		$gokkast = document.getElementById('gokkast');
		
		$thisPic = 0;
		
        if($type == 1){
        	
        	$gokkast.innerHTML = $gokkasten[$thisPic];
        	
        }else{
        	
        	$gokkast.innerHTML = $tanzoo[$thisPic];
        	
        }
		
	}
    
}