var checkval = 0;
//banner 468X60 banner.
if(adrollerheight == 60 && adrollwidth == 468)
{	
	checkval++;
	var scrollerheight2=adrollerheight;     
	var html,total_area2=0,wait_flag2=true;
	
	var bMouseOver2 = 1;
	var scrollspeed2 = adrollerheight;        
	var waitingtime2 = 15000;     
	var scroll_content2=new Array();
	
	function startscroll2()
	{
	  	
	  	for (i in scroll_content2)
	      		insert_area2(total_area2++); 
	  	window.setTimeout("scrolling2()",waitingtime2);
	}
	
	function scrolling2()
	{
	  	
	  	if (bMouseOver2 && wait_flag2)
	  	{
	      		for (i=0;i<total_area2;i++)
	      		{
	          		tmp = document.getElementById('scroll_area2'+i).style;
	          		tmp.top = parseInt(tmp.top)-scrollspeed2;
	          		if (parseInt(tmp.top) <= -scrollerheight2)
	          		{
	              			tmp.top=scrollerheight2*(total_area2-1);
							wait_flag2=false;
	              			window.setTimeout("wait_flag2=true;",waitingtime2);
	          		}
	      		}
	  	}
	  	window.setTimeout("scrolling2()",1);
	}
	
	
	function insert_area2(n)
	{
	  	html='<div style="left: 0px; width: 100%px; position: absolute; height: 100%px; top: '+(scrollerheight2*n)+'px" id="scroll_area2' +n+'">\n';
	  	html+=scroll_content2[n]+'\n';
	  	html+='</div>\n';
	
	  	//alert(html);
	  	document.write(html);
	}
	
	function view_board2(url){
		var notic;
		notic = window.open(url,'new_win','menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes,scrollbars=yes,target=_blank');
		notic.focus();
	}
}
//banner 130X90 banner
if(adrollerheight == 90 && adrollwidth == 130)
{
	checkval++;
	var scrollerheight3=adrollerheight;     
	var html,total_area3=0,wait_flag3=true;
	
	var bMouseOver3 = 1;
	var scrollspeed3 = adrollerheight;        
	var waitingtime3 = 15000;     
	var scroll_content3=new Array();
	
	function startscroll3()
	{
	  	
	  	for (i in scroll_content3)
	      		insert_area3(total_area3++); 
	  	window.setTimeout("scrolling3()",waitingtime3);
	}
	
	function scrolling3()
	{
	  	
	  	if (bMouseOver3 && wait_flag3)
	  	{
	      		for (i=0;i<total_area3;i++)
	      		{
	          		tmp = document.getElementById('scroll_area3'+i).style;
	          		tmp.top = parseInt(tmp.top)-scrollspeed3;
	          		if (parseInt(tmp.top) <= -scrollerheight3)
	          		{
	              			tmp.top=scrollerheight3*(total_area3-1);
	              			wait_flag3=false;
	              			window.setTimeout("wait_flag3=true;",waitingtime3);
	          		}
	      		}
	  	}
	  	window.setTimeout("scrolling3()",1);
	}
	
	
	function insert_area3(n)
	{
	  	html='<div style="left: 0px; width: 100%px; position: absolute; height: 100%px; top: '+(scrollerheight3*n)+'px" id="scroll_area3' +n+'">\n';
	  	html+=scroll_content3[n]+'\n';
	  	html+='</div>\n';
	
	  	//alert(html);
	  	document.write(html);
	}
	
	function view_board3(url){
		var notic;
		notic = window.open(url,'new_win','menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes,scrollbars=yes,target=_blank');
		notic.focus();
	}
}
//banner 140X350
if(adrollerheight == 350 && adrollwidth == 140)
{
	checkval++;
	var scrollerheight4=adrollerheight;     
	var html,total_area4=0,wait_flag4=true;
	
	var bMouseOver4 = 1;
	var scrollspeed4 = adrollerheight;        
	var waitingtime4 = 15000;     
	var scroll_content4=new Array();
	
	function startscroll4()
	{
	  	
	  	for (i in scroll_content4)
	      		insert_area4(total_area4++); 
	  	window.setTimeout("scrolling4()",waitingtime4);
	}
	
	function scrolling4()
	{
	  	
	  	if (bMouseOver4 && wait_flag4)
	  	{
	      		for (i=0;i<total_area4;i++)
	      		{
	          		tmp = document.getElementById('scroll_area4'+i).style;
	          		tmp.top = parseInt(tmp.top)-scrollspeed4;
	          		if (parseInt(tmp.top) <= -scrollerheight4)
	          		{
	              			tmp.top=scrollerheight4*(total_area4-1);
	              			wait_flag4=false;
	              			window.setTimeout("wait_flag4=true;",waitingtime4);
	          		}
	      		}
	  	}
	  	window.setTimeout("scrolling4()",1);
	}
	
	
	function insert_area4(n)
	{
	  	html='<div style="left: 0px; width: 100%px; position: absolute; height: 100%px; top: '+(scrollerheight4*n)+'px" id="scroll_area4' +n+'">\n';
	  	html+=scroll_content4[n]+'\n';
	  	html+='</div>\n';
	
	  	//alert(html);
	  	document.write(html);
	}
	
	function view_board4(url){
		var notic;
		notic = window.open(url,'new_win','menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes,scrollbars=yes,target=_blank');
		notic.focus();
	}
}
//banner 125X125
if(adrollerheight == 125 && adrollwidth == 125)
{
	checkval++;
	var scrollerheight5=adrollerheight;     
	var html,total_area5=0,wait_flag5=true;
	
	var bMouseOver5 = 1;
	var scrollspeed5 = adrollerheight;        
	var waitingtime5 = 15000;     
	var scroll_content5=new Array();
	
	function startscroll5()
	{
	  	
	  	for (i in scroll_content5)
	      		insert_area5(total_area5++); 
	  	window.setTimeout("scrolling5()",waitingtime5);
	}
	
	function scrolling5()
	{
	  	
	  	if (bMouseOver5 && wait_flag5)
	  	{
	      		for (i=0;i<total_area5;i++)
	      		{
	          		tmp = document.getElementById('scroll_area5'+i).style;
	          		tmp.top = parseInt(tmp.top)-scrollspeed5;
	          		if (parseInt(tmp.top) <= -scrollerheight5)
	          		{
	              			tmp.top=scrollerheight5*(total_area5-1);
	              			wait_flag5=false;
	              			window.setTimeout("wait_flag5=true;",waitingtime5);
	          		}
	      		}
	  	}
	  	window.setTimeout("scrolling5()",1);
	}
	
	
	function insert_area5(n)
	{
	  	html='<div style="left: 0px; width: 100%px; position: absolute; height: 100%px; top: '+(scrollerheight5*n)+'px" id="scroll_area5' +n+'">\n';
	  	html+=scroll_content5[n]+'\n';
	  	html+='</div>\n';
	
	  	//alert(html);
	  	document.write(html);
	}
	
	function view_board5(url){
		var notic;
		notic = window.open(url,'new_win','menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes,scrollbars=yes,target=_blank');
		notic.focus();
	}
}
//banner 300X250
if(adrollerheight == 250 && adrollwidth == 300)
{
	checkval++;
	var scrollerheight6=adrollerheight;     
	var html,total_area6=0,wait_flag6=true;
	
	var bMouseOver6 = 1;
	var scrollspeed6 = adrollerheight;        
	var waitingtime6 = 15000;     
	var scroll_content6=new Array();
	
	function startscroll6()
	{
	  	
	  	for (i in scroll_content6)
	      		insert_area6(total_area6++); 
	  	window.setTimeout("scrolling6()",waitingtime6);
	}
	
	function scrolling6()
	{
	  	
	  	if (bMouseOver6 && wait_flag6)
	  	{
	      		for (i=0;i<total_area6;i++)
	      		{
	          		tmp = document.getElementById('scroll_area6'+i).style;
	          		tmp.top = parseInt(tmp.top)-scrollspeed6;
	          		if (parseInt(tmp.top) <= -scrollerheight6)
	          		{
	              			tmp.top=scrollerheight6*(total_area6-1);
	              			wait_flag6=false;
	              			window.setTimeout("wait_flag6=true;",waitingtime6);
	          		}
	      		}
	  	}
	  	window.setTimeout("scrolling6()",1);
	}
	
	
	function insert_area6(n)
	{
	  	html='<div style="left: 0px; width: 100%px; position: absolute; height: 100%px; top: '+(scrollerheight6*n)+'px" id="scroll_area6' +n+'">\n';
	  	html+=scroll_content6[n]+'\n';
	  	html+='</div>\n';
	
	  	//alert(html);
	  	document.write(html);
	}
	
	function view_board6(url){
		var notic;
		notic = window.open(url,'new_win','menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes,scrollbars=yes,target=_blank');
		notic.focus();
	}
}
//banner 728X90
if(adrollerheight == 90 && adrollwidth == 728)
{
	checkval++;
	var scrollerheight7=adrollerheight;     
	var html,total_area7=0,wait_flag7=true;
	
	var bMouseOver7 = 1;
	var scrollspeed7 = adrollerheight;        
	var waitingtime7 = 15000;     
	var scroll_content7=new Array();
	
	function startscroll7()
	{
	  	
	  	for (i in scroll_content7)
	      		insert_area7(total_area7++); 
	  	window.setTimeout("scrolling7()",waitingtime7);
	}
	
	function scrolling7()
	{
	  	
	  	if (bMouseOver7 && wait_flag7)
	  	{
	      		for (i=0;i<total_area7;i++)
	      		{
	          		tmp = document.getElementById('scroll_area7'+i).style;
	          		tmp.top = parseInt(tmp.top)-scrollspeed7;
	          		if (parseInt(tmp.top) <= -scrollerheight7)
	          		{
	              			tmp.top=scrollerheight7*(total_area7-1);
	              			wait_flag7=false;
	              			window.setTimeout("wait_flag7=true;",waitingtime7);
	          		}
	      		}
	  	}
	  	window.setTimeout("scrolling7()",1);
	}
	
	
	function insert_area7(n)
	{
	  	html='<div style="left: 0px; width: 100%px; position: absolute; height: 100%px; top: '+(scrollerheight7*n)+'px" id="scroll_area7' +n+'">\n';
	  	html+=scroll_content7[n]+'\n';
	  	html+='</div>\n';
	
	  	//alert(html);
	  	document.write(html);
	}
	
	function view_board7(url){
		var notic;
		notic = window.open(url,'new_win','menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes,scrollbars=yes,target=_blank');
		notic.focus();
	}
}
//banner 400X400
if(adrollerheight == 400 && adrollwidth == 400)
{
	checkval++;
	var scrollerheight8=adrollerheight;     
	var html,total_area8=0,wait_flag8=true;
	
	var bMouseOver8 = 1;
	var scrollspeed8 = adrollerheight;        
	var waitingtime8 = 15000;     
	var scroll_content8=new Array();
	
	function startscroll8()
	{
	  	
	  	for (i in scroll_content8)
	      		insert_area8(total_area8++); 
	  	window.setTimeout("scrolling8()",waitingtime8);
	}
	
	function scrolling8()
	{
	  	if (bMouseOver8 && wait_flag8)
	  	{
	      		for (i=0;i<total_area8;i++)
	      		{
	          		tmp = document.getElementById('scroll_area8'+i).style;
	          		tmp.top = parseInt(tmp.top)-scrollspeed8;
	          		if (parseInt(tmp.top) <= -scrollerheight8)
	          		{
	              			tmp.top=scrollerheight8*(total_area8-1);
	              			wait_flag8=false;
	              			window.setTimeout("wait_flag8=true;",waitingtime8);
	          		}
	      		}
	  	}
	  	window.setTimeout("scrolling8()",1);
	}
	
	
	function insert_area8(n)
	{
	  	html='<div style="left: 0px; width: 100%px; position: absolute; height: 100%px; top: '+(scrollerheight8*n)+'px" id="scroll_area8' +n+'">\n';
	  	html+=scroll_content8[n]+'\n';
	  	html+='</div>\n';
	
	  	//alert(html);
	  	document.write(html);
	}
	
	function view_board8(url){
		var notic;
		notic = window.open(url,'new_win','menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes,scrollbars=yes,target=_blank');
		notic.focus();
	}
}
//banner 250X250
if(adrollerheight == 250 && adrollwidth == 250)
{
	checkval++;
	var scrollerheight9=adrollerheight;     
	var html,total_area9=0,wait_flag9=true;
	
	var bMouseOver9 = 1;
	var scrollspeed9 = adrollerheight;        
	var waitingtime9 = 15000;     
	var scroll_content9=new Array();
	
	function startscroll9()
	{
	  	
	  	for (i in scroll_content9)
	      		insert_area9(total_area9++); 
	  	window.setTimeout("scrolling9()",waitingtime9);
	}
	
	function scrolling9()
	{
	  	if (bMouseOver9 && wait_flag9)
	  	{
	      		for (i=0;i<total_area9;i++)
	      		{
	          		tmp = document.getElementById('scroll_area9'+i).style;
	          		tmp.top = parseInt(tmp.top)-scrollspeed9;
	          		if (parseInt(tmp.top) <= -scrollerheight9)
	          		{
	              			tmp.top=scrollerheight9*(total_area9-1);
	              			wait_flag9=false;
	              			window.setTimeout("wait_flag9=true;",waitingtime9);
	          		}
	      		}
	  	}
	  	window.setTimeout("scrolling9()",1);
	}
	
	
	function insert_area9(n)
	{
	  	html='<div style="left: 0px; width: 100%px; position: absolute; height: 100%px; top: '+(scrollerheight9*n)+'px" id="scroll_area9' +n+'">\n';
	  	html+=scroll_content9[n]+'\n';
	  	html+='</div>\n';
	
	  	//alert(html);
	  	document.write(html);
	}
	
	function view_board9(url){
		var notic;
		notic = window.open(url,'new_win','menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes,scrollbars=yes,target=_blank');
		notic.focus();
	}
}
//banner 160X600
if(adrollerheight == 600 && adrollwidth == 160)
{
	checkval++;
	var scrollerheight10=adrollerheight;     
	var html,total_area10=0,wait_flag10=true;
	
	var bMouseOver10 = 1;
	var scrollspeed10 = adrollerheight;        
	var waitingtime10 = 15000;     
	var scroll_content10=new Array();
	
	function startscroll10()
	{
	  	
	  	for (i in scroll_content10)
	      		insert_area10(total_area10++); 
	  	window.setTimeout("scrolling10()",waitingtime10);
	}
	
	function scrolling10()
	{
	  	if (bMouseOver10 && wait_flag10)
	  	{
	      		for (i=0;i<total_area10;i++)
	      		{
	          		tmp = document.getElementById('scroll_area10'+i).style;
	          		tmp.top = parseInt(tmp.top)-scrollspeed10;
	          		if (parseInt(tmp.top) <= -scrollerheight10)
	          		{
	              			tmp.top=scrollerheight10*(total_area10-1);
	              			wait_flag10=false;
	              			window.setTimeout("wait_flag10=true;",waitingtime10);
	          		}
	      		}
	  	}
	  	window.setTimeout("scrolling10()",1);
	}
	
	
	function insert_area10(n)
	{
	  	html='<div style="left: 0px; width: 100%px; position: absolute; height: 100%px; top: '+(scrollerheight10*n)+'px" id="scroll_area10' +n+'">\n';
	  	html+=scroll_content10[n]+'\n';
	  	html+='</div>\n';
	
	  	//alert(html);
	  	document.write(html);
	}
	
	function view_board10(url){
		var notic;
		notic = window.open(url,'new_win','menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes,scrollbars=yes,target=_blank');
		notic.focus();
	}
}
//banner 120X600
if(adrollerheight == 600 && adrollwidth == 120)
{
	checkval++;
	var scrollerheight11=adrollerheight;     
	var html,total_area11=0,wait_flag11=true;
	
	var bMouseOver11 = 1;
	var scrollspeed11 = adrollerheight;        
	var waitingtime11 = 15000;     
	var scroll_content11=new Array();
	
	function startscroll11()
	{
	  	
	  	for (i in scroll_content11)
	      		insert_area11(total_area11++); 
	  	window.setTimeout("scrolling11()",waitingtime11);
	}
	
	function scrolling11()
	{
	  	if (bMouseOver11 && wait_flag11)
	  	{
	      		for (i=0;i<total_area11;i++)
	      		{
	          		tmp = document.getElementById('scroll_area11'+i).style;
	          		tmp.top = parseInt(tmp.top)-scrollspeed11;
	          		if (parseInt(tmp.top) <= -scrollerheight11)
	          		{
	              			tmp.top=scrollerheight11*(total_area11-1);
	              			wait_flag11=false;
	              			window.setTimeout("wait_flag11=true;",waitingtime11);
	          		}
	      		}
	  	}
	  	window.setTimeout("scrolling11()",1);
	}
	
	
	function insert_area11(n)
	{
	  	html='<div style="left: 0px; width: 100%px; position: absolute; height: 100%px; top: '+(scrollerheight11*n)+'px" id="scroll_area11' +n+'">\n';
	  	html+=scroll_content11[n]+'\n';
	  	html+='</div>\n';
	
	  	//alert(html);
	  	document.write(html);
	}
	
	function view_board11(url){
		var notic;
		notic = window.open(url,'new_win','menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes,scrollbars=yes,target=_blank');
		notic.focus();
	}
}
//banner 930X180 banner.

if(adrollerheight == 180 && adrollwidth == 930)
{	
	checkval++;
	var scrollerheight12=adrollerheight;     
	var html,total_area12=0,wait_flag12=true;
	
	var bMouseOver12 = 1;
	var scrollspeed12 = adrollerheight;        
	var waitingtime12 = 15000;     
	var scroll_content12=new Array();
	
	function startscroll12()
	{
	  	
	  	for (i in scroll_content12)
	      		insert_area12(total_area12++); 
	  	window.setTimeout("scrolling12()",waitingtime12);
	}
	
	function scrolling12()
	{
	  	
	  	if (bMouseOver12 && wait_flag12)
	  	{
	      		for (i=0;i<total_area12;i++)
	      		{
	          		tmp = document.getElementById('scroll_area12'+i).style;
	          		tmp.top = parseInt(tmp.top)-scrollspeed12;
	          		if (parseInt(tmp.top) <= -scrollerheight12)
	          		{
	              			tmp.top=scrollerheight12*(total_area12-1);
							wait_flag12=false;
	              			window.setTimeout("wait_flag12=true;",waitingtime12);
	          		}
	      		}
	  	}
	  	window.setTimeout("scrolling12()",1);
	}
	
	//alert(scroll_content12);
	function insert_area12(n)
	{
	  	html='<div style="left: 0px; width: 100%px; position: absolute; height: 100%px; top: '+(scrollerheight12*n)+'px" id="scroll_area12' +n+'">\n';
	  	html+=scroll_content12[n]+'\n';
	  	html+='</div>\n';
	
	  	//alert(html);
	  	document.write(html);
	}
	
	function view_board12(url){
		var notic;
		notic = window.open(url,'new_win','menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes,scrollbars=yes,target=_blank');
		notic.focus();
	}
	//alert("Height"+adrollerheight+"::Width"+adrollwidth);
}
if(!checkval)
{
	document.write("Giving the height or width values are invalid.");
}