
// Banner Rotation Script 

tI=new Array(); tU=new Array();
LtI=new Array(); LtU=new Array();
RtI=new Array(); RtU=new Array();

// ---LEFT BANNER---

// Banner1
LtI[1] = "http://www.topweb.gr/banners/left1.gif"
LtU[1] = "http://users.otenet.gr/~polyekdo/symboulos.htm"


// Banner2
LtI[2] = "http://www.topweb.gr/banners/left2.gif"
LtU[2] = "http://www.pin.gr/polyekdotiki/show.php?frame=ekdoseis17"

// Banner3
LtI[3] = "http://www.topweb.gr/banners/left3.gif"
LtU[3] = "http://users.otenet.gr/~polyekdo/symbauto.htm"

// Banner4
LtI[4] = "http://www.topweb.gr/banners/left4.gif"
LtU[4] = "http://www.pin.gr/polyekdotiki/show.php?frame=ekdoseis8"

// Banner5
LtI[5] = "http://www.topweb.gr/banners/left5.gif"
LtU[5] = "http://www.pin.gr/polyekdotiki/show.php?frame=ekdoseis16"

// Banner6
LtI[6] = "http://www.topweb.gr/banners/left6.gif"
LtU[6] = "http://users.otenet.gr/~polyekdo/tourtes.htm"




var LsI=1; var LeI=6; var LiN=LsI;
function animateL(){LiN++; if (LiN > LeI){LiN = LsI} ; document.animationL.src = LtI[LiN];}
function goL(){if (LiN<0) {LiN=1;} window.open(LtU[LiN])  }




// ---CENTER BANNER---

// Banner1
tI[1] = "http://www.topweb.gr/banners/center1.gif"
tU[1] = "http://www.pin.gr/polyekdotiki/show.php?frame=ekdoseis9"

// Banner2
tI[2] = "http://www.topweb.gr/banners/center2.gif"
tU[2] = "http://www.pin.gr/polyekdotiki/show.php?frame=ekdoseis5"

// Banner3
tI[3] = "http://www.topweb.gr/banners/center3.gif"
tU[3] = "http://www.pin.gr/polyekdotiki/show.php?frame=ekdoseis5"

// Banner4
tI[4] = "http://www.topweb.gr/banners/center4.jpg"
tU[4] = "#"


var sI=1; var eI=4; var iN=sI;

function animate(){iN++; if (iN > eI){iN = sI} ; document.animation.src = tI[iN];}
function go(){if (iN<0) {iN=1;} window.open(tU[iN])  }




// ---RIGHT BANNER---

// Banner1
RtI[1] = "http://www.topweb.gr/banners/right1.gif"
RtU[1] = "http://www.pin.gr/super_prosfora"

// Banner2
RtI[2] = "http://www.topweb.gr/banners/right2.gif"
RtU[2]= "http://www.pin.gr/polyekdotiki/show.php?frame=ekdoseis4"

// Banner3
RtI[3] = "http://www.topweb.gr/banners/right3.gif"
RtU[3] = "http://www.pin.gr/polyekdotiki/show.php?frame=ekdoseis11"

// Banner4
RtI[4] = "http://www.topweb.gr/banners/right4.jpg"
RtU[4] = "http://www.diadiktyo.net/ependiseis"

// Banner5
RtI[5] = "http://www.topweb.gr/banners/right5.gif"
RtU[5] = "http://www.pin.gr/polyekdotiki/show.php?frame=ekdoseis19"

// Banner6
RtI[6] = "http://www.topweb.gr/banners/right6.jpg"
RtU[6] = "http://www.pin.gr/polyekdotiki/show.php?frame=ekdoseis6"



var RsI=1; var ReI=6; var RiN=RsI;
function animateR(){RiN++; if (RiN > ReI){RiN = RsI} ; document.animationR.src = RtI[RiN];}
function goR(){if (RiN<0) {RiN=1;} window.open(RtU[RiN])  }



// ---FUNCTION OPEN POP-UP WINDOW---

function openwindow(theurl,wwidth,hheight)
{
	param = "scrollbars=yes,top=10,left=10,resizable=yes,width="+wwidth+",height="+hheight;
	tryopen = window.open(theurl, "name", param);
	tryopen.opener.top.name="tryopen";
	tryopen.focus()
}



