var timenowrandimage83379 = 0; var counttimerrandimage83379 = -1; var counttimerlrandimage83379 = counttimerrandimage83379; var timesetrandimage83379 = 10; var nimagerandimage83379 = new Image; var imagesrandimage83379 = new Array('http://www.cgiconnection.com/randimage4/images/imperial_coronation-2.jpg','http://www.cgiconnection.com/randimage4/images/imperial_resurrection-2.jpg','http://www.cgiconnection.com/randimage4/images/imperial_cuckoo.jpg','http://www.cgiconnection.com/randimage4/images/imperial_lillies.jpg'); var urlsrandimage83379 = new Array('http://','http://','http://','http://'); var timesrandimage83379 = new Array('','','',''); var newwinsrandimage83379 = new Array('','','',''); var footersrandimage83379 = new Array('Coronation Egg','Resurrection Egg','Cuckoo Clock Egg','Lillies of the Valley Egg'); var timerrandimage83379; var timerfrandimage83379; var i = 0; var preloadimgrandimage83379 = 0; var footerrandimage83379 = '
Faberge Imperial Eggs'; var statusrandimage83379 = ''; var floatidrandimage83379 = 0; var zoomidrandimage83379 = 0; var carrandimage83379 = 1; var fadeSpeedrandimage83379 = 10; var outTime = 2100 - (fadeSpeedrandimage83379 * 35); var objrandimage83379; var opacityrandimage83379; var nsrandimage83379 = document.layers; var ierandimage83379 = document.all; var fadeinvalrandimage83379 = ""; var fadeoutvalrandimage83379 = ""; var sliderandimage83379 = 0; var zfrandimage83379 = 0.075; var ztrandimage83379 = 500; var wcrandimage83379; var Elemrandimage83379; var yPosrandimage83379 = 0; var xPosrandimage83379 = 0; var xPostrandimage83379 = 0; var yPostrandimage83379 = 0; var gsrandimage83379 = ""; if (preloadimgrandimage83379 == 1) { for(i=0; i < imagesrandimage83379.length; i++) { nimagerandimage83379.src = imagesrandimage83379[i]; } } function setOpacrandimage83379(objrandimage83379, opacityrandimage83379) { opacityrandimage83379 = (opacityrandimage83379 == 100)?99.999:opacityrandimage83379; if (nsrandimage83379) { objrandimage83379.style.MozOpacity = opacityrandimage83379/100; } else if (ierandimage83379) { objrandimage83379.style.filter = "alpha(opacity:"+opacityrandimage83379+")"; } else { objrandimage83379.style.opacity = opacityrandimage83379/100; } } function fadeInrandimage83379(objIdrandimage83379,opacityrandimage83379) { if (document.getElementById) { objrandimage83379 = document.getElementById(objIdrandimage83379); if (opacityrandimage83379 <= 100) { setOpacrandimage83379(objrandimage83379, opacityrandimage83379); opacityrandimage83379 += fadeSpeedrandimage83379; window.setTimeout("fadeInrandimage83379('" + objIdrandimage83379 +"',"+opacityrandimage83379+")", 100); } else { setOpacrandimage83379(objrandimage83379, 100); } } } function fadeOutrandimage83379(objIdrandimage83379,opacityrandimage83379) { if (document.getElementById) { objrandimage83379 = document.getElementById(objIdrandimage83379); if (opacityrandimage83379 >= 0) { setOpacrandimage83379(objrandimage83379, opacityrandimage83379); opacityrandimage83379 = opacityrandimage83379 - fadeSpeedrandimage83379; window.setTimeout("fadeOutrandimage83379('" + objIdrandimage83379 +"',"+opacityrandimage83379+")", 100); } else { setOpacrandimage83379(objrandimage83379, 0); } } } function changeTextrandimage83379(div_id,val){ elm=document.getElementById(div_id); elm.innerHTML = '

' + val + footerrandimage83379 + '

'; } document.write(''); if (floatidrandimage83379 == 1) { document.write('
'); } document.write('

'); document.write(''); document.write(''); } if (sliderandimage83379 == 1 || carrandimage83379 == 1) { document.write(''); } else { document.write(''); } document.write('

'); document.write('
'); if (carrandimage83379 == 1) { document.write('
'); } if (sliderandimage83379 == 1) { document.write('
'); document.write('
'); document.write('
'); document.write('
'); } if (sliderandimage83379 != 1 && carrandimage83379 != 1) { if (zoomidrandimage83379 == 0) { document.write(''); } else { document.write(''); } document.write('
'); document.write('
' + footerrandimage83379 + '
'); if (floatidrandimage83379 == 1) { document.write('

'); } var imageIdrandimage83379 = 'randimage83379'; var imageElemrandimage83379 = document.getElementById(imageIdrandimage83379); var tempURLnum; function go_urlrandimage83379(tempURLnum,openinnew,templink,tempsrc) { window.status = statusrandimage83379; var myURL = ""; var isNew = ""; var mySRC = ""; var mainURL = "http://www.cgiconnection.com/cgi-bin/cgi-con/randimage4.cgi"; var recURL83379 = 0; if (tempURLnum > 0) { counttimerrandimage83379 = tempURLnum - 1; } if (tempURLnum == -1) { myURL = templink; mySRC = tempsrc; isNew = openinnew; } else { myURL = urlsrandimage83379[counttimerrandimage83379]; mySRC = imagesrandimage83379[counttimerrandimage83379]; isNew = newwinsrandimage83379[counttimerrandimage83379]; } if (myURL != "" && myURL != "http://") { if (recURL83379 == 1) { myURL = mainURL + '?filename=faberge&gourl=' + escape(myURL) + '&img=' + escape(mySRC); } if (isNew == "Y") { window.open(myURL,'RandomImage','resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,location=yes,width=790,height=550,top=10,left=10'); } else { location.href = myURL; } } } function go_backrandimage83379() { clearTimeout(timerfrandimage83379); window.status = statusrandimage83379; counttimerlrandimage83379 = counttimerrandimage83379; counttimerrandimage83379 = counttimerrandimage83379 - 1; begin_imagerandimage83379(1); } function go_nextrandimage83379() { clearTimeout(timerfrandimage83379); window.status = statusrandimage83379; counttimerlrandimage83379 = counttimerrandimage83379; counttimerrandimage83379++; begin_imagerandimage83379(1); } function begin_imagerandimage83379(doit) { if (counttimerrandimage83379 >= (imagesrandimage83379.length - 1)) { if (doit < 1) { counttimerrandimage83379 = 0; } } else { if (doit < 1) { counttimerrandimage83379++; } } if (counttimerrandimage83379 < 0 && doit == 1) { counttimerrandimage83379 = imagesrandimage83379.length - 1; } if (counttimerrandimage83379 > (imagesrandimage83379.length - 1) && doit == 1) { counttimerrandimage83379 = 0; } var tempTime = timesrandimage83379[counttimerrandimage83379]; if (tempTime < 1) { tempTime = timesetrandimage83379; } tempTime = tempTime * 1000; if (fadeinvalrandimage83379 == 'Y') { setOpacrandimage83379(imageElemrandimage83379, 0); } if (fadeinvalrandimage83379 == '' && fadeoutvalrandimage83379 == 'Y') { setOpacrandimage83379(imageElemrandimage83379, 100); } nimagerandimage83379.src = imagesrandimage83379[counttimerrandimage83379]; document.randimage83379.src = nimagerandimage83379.src; changeTextrandimage83379("divtextrandimage83379",footersrandimage83379[counttimerrandimage83379]); if (fadeinvalrandimage83379 == 'Y') { fadeInrandimage83379(imageIdrandimage83379,0); } if (fadeoutvalrandimage83379 == 'Y') { timerfrandimage83379 = setTimeout('fadeOutrandimage83379(imageIdrandimage83379,100);', (tempTime - outTime)); } clearTimeout(timerrandimage83379); timerrandimage83379 = setTimeout('begin_imagerandimage83379(0);', tempTime); } function dimsrandimage83379(Elemrandimage83379) { var ns4 = document.layers; var op5 = (navigator.userAgent.indexOf("Opera 5")!=-1) ||(navigator.userAgent.indexOf("Opera/5")!=-1); var op6 = (navigator.userAgent.indexOf("Opera 6")!=-1) ||(navigator.userAgent.indexOf("Opera/6")!=-1); var agt=navigator.userAgent.toLowerCase(); var mac = (agt.indexOf("mac")!=-1); var ie = (agt.indexOf("msie") != -1); var mac_ie = mac && ie; if (xPosrandimage83379 > 0) { xPostrandimage83379 = xPosrandimage83379; yPostrandimage83379 = yPosrandimage83379; wcrandimage83379.style.width = xPosrandimage83379; wcrandimage83379.style.height = yPosrandimage83379; } if (ns4) { var Elemrandimage83379 = getObjNN4(document, Elemrandimage83379); yPosrandimage83379 = Elemrandimage83379.clip.height; xPosrandimage83379 = Elemrandimage83379.clip.width; return; } else { var Elemrandimage83379; if(document.getElementById) { var Elemrandimage83379 = document.getElementById(Elemrandimage83379); } else if (document.all) { var Elemrandimage83379 = document.all[Elemrandimage83379]; } } if (op5) { yPosrandimage83379 = Elemrandimage83379.style.pixelHeight; xPosrandimage83379 = Elemrandimage83379.style.pixelWidth; } else { yPosrandimage83379 = Elemrandimage83379.offsetHeight; xPosrandimage83379 = Elemrandimage83379.offsetWidth; } } function znrandimage83379() { clearTimeout(timerrandimage83379); clearTimeout(timerfrandimage83379); czrandimage83379(); if (xPosrandimage83379 > 0) { wcrandimage83379.style.width = xPosrandimage83379; wcrandimage83379.style.height = yPosrandimage83379; } dimsrandimage83379("randimage83379"); window.status=statusrandimage83379; zoomrandimage83379(xPosrandimage83379,yPosrandimage83379,'randimage83379','in'); timerrandimage83379 = setTimeout("czrandimage83379();", ztrandimage83379); } function zbrandimage83379() { xPostrandimage83379 = xPosrandimage83379; yPostrandimage83379 = yPosrandimage83379; clearTimeout(timerrandimage83379); czrandimage83379(); setOpacrandimage83379(imageElemrandimage83379, 100); zoomrandimage83379(xPosrandimage83379,yPosrandimage83379,'randimage83379','out'); timerrandimage83379 = setTimeout('begin_imagerandimage83379(0);', counttimerlrandimage83379); } function zhrandimage83379(){ if (gsrandimage83379 == "out" && (xPostrandimage83379 < xPosrandimage83379 || yPostrandimage83379 < yPosrandimage83379)) { setOpacrandimage83379(imageElemrandimage83379, 100); xPostrandimage83379 = xPosrandimage83379; yPostrandimage83379 = yPosrandimage83379; wcrandimage83379.style.width = xPosrandimage83379; wcrandimage83379.style.height = yPosrandimage83379; gsrandimage83379 = ""; czrandimage83379(); return; } if (parseInt(wcrandimage83379.style.width)>10&&parseInt(wcrandimage83379.style.height)>10) { xPostrandimage83379 = parseInt(wcrandimage83379.style.width) + parseInt(wcrandimage83379.style.width) * zfrandimage83379 * pfrandimage83379; yPostrandimage83379 = parseInt(wcrandimage83379.style.height) + parseInt(wcrandimage83379.style.height) * zfrandimage83379 * pfrandimage83379; wcrandimage83379.style.width = xPostrandimage83379; wcrandimage83379.style.height = yPostrandimage83379; } } function zoomrandimage83379(originalW, originalH, what, state){ gsrandimage83379 = state; if (!document.all&&!document.getElementById) { return; } wcrandimage83379 = eval("document.images."+what); pfrandimage83379 = (state=="in")? 1 : -1; if (wcrandimage83379.style.width=="") { wcrandimage83379.style.width=originalW; wcrandimage83379.style.height=originalH; } if (state=="restore"){ xPostrandimage83379 = xPosrandimage83379; yPostrandimage83379 = yPosrandimage83379; wcrandimage83379.style.width=originalW; wcrandimage83379.style.height=originalH; czrandimage83379(); return; } else { zhrandimage83379(); } bzrandimage83379 = setInterval("zhrandimage83379()",100); } function czrandimage83379(){ if (window.bzrandimage83379) { if (gsrandimage83379 != "in" && (xPostrandimage83379 != xPosrandimage83379 || yPostrandimage83379 != yPosrandimage83379)) { xPostrandimage83379 = xPosrandimage83379; yPostrandimage83379 = yPosrandimage83379; wcrandimage83379.style.width = xPosrandimage83379; wcrandimage83379.style.height = yPosrandimage83379; gsrandimage83379 = ""; } clearInterval(bzrandimage83379); } } var tempcount2; var tempcount5; var Car_Image_Sources83379 = new Array(); var FootersAll83379 = new Array(); var myNewWin83379 = new Array(); var imglength83379 = imagesrandimage83379.length; /*********************************************** * Carousel Slideshow script- © Ger Versluis 2003 * Permission granted to DynamicDrive.com to feature script * This notice must stay intact for legal use * Visit http://www.dynamicdrive.com/ for full source code ***********************************************/ var Car_Image_Width83379 = 220; var Car_Image_Height83379 = 300; var Car_Border=false; var Car_Border_Color="white"; var Car_Speed83379 = 3; var Car_Direction83379 = false; var Car_NoOfSides83379 = 4; var tempcounta83379 = 0; var carTimer83379; var tempL83379 = 0; function startItC83379(whichOne) { if (whichOne == 0) { clearTimeout(carTimer83379); Car_Direction83379 = true; } else { clearTimeout(carTimer83379); Car_Direction83379 = false; } carTimer83379 = setTimeout("CarImages83379()",50); } if (imglength83379 < 6) { tempL83379 = 7 - imglength83379; } if (tempL83379 < 1) { tempL83379 = 1; } var mainCount83379 = 0; for (tempcount5 = 0; tempcount5 < tempL83379; tempcount5++) { for (tempcount2 = 0; tempcount2 < imglength83379; tempcount2++) { var tempVal = imagesrandimage83379[tempcount2]; Car_Image_Sources83379[tempcounta83379] = tempVal; FootersAll83379[tempcounta83379] = footersrandimage83379[tempcount2]; myNewWin83379[tempcounta83379] = newwinsrandimage83379[tempcount2]; tempcounta83379++; Car_Image_Sources83379[tempcounta83379] = urlsrandimage83379[tempcount2]; FootersAll83379[tempcounta83379] = footersrandimage83379[tempcount2]; myNewWin83379[tempcounta83379] = newwinsrandimage83379[tempcount2]; tempcounta83379++; mainCount83379++; } } imglength83379 = mainCount83379; CW_I83379 = new Array(Car_NoOfSides83379 / 2+1);C_ClcW83379 = new Array(Car_NoOfSides83379 / 2); C_Coef83379 = new Array( 3*Math.PI/2,0,3*Math.PI/2,11*Math.PI/6,Math.PI/6,3*Math.PI/2,7*Math.PI/4, 0, Math.PI/4,3*Math.PI/2,5*Math.PI/3,11*Math.PI/6,0,Math.PI/6,Math.PI/3); var C_CoefOf83379 = Car_NoOfSides83379 == 4?0:Car_NoOfSides83379 == 6 ? 2:Car_NoOfSides83379 == 8?5:9; C_Pre_Img83379 = new Array(Car_Image_Sources83379.length); var C_Angle83379 = Car_Direction83379 ? Math.PI/(Car_NoOfSides83379 / 2):0,C_CrImg83379 = Car_NoOfSides83379,C_MaxW83379,C_TotalW83379,C_Stppd83379=false,i83379,C_LeftOffset83379,C_HalfNo83379 = Car_NoOfSides83379 / 2; function CarouselStart83379(){ if(document.getElementById){ for(i83379=0;i83379 < Car_Image_Sources83379.length; i83379+=2){ C_Pre_Img83379[i83379]=new Image();C_Pre_Img83379[i83379].src=Car_Image_Sources83379[i83379]} C_MaxW83379=Car_Image_Width83379 / Math.sin(Math.PI/Car_NoOfSides83379)+C_HalfNo83379 + 1; Car_Div=document.getElementById("Carousel83379"); for(i83379=0;i83379= Math.PI/C_HalfNo83379)){ if(C_CrImg83379 == Car_Image_Sources83379.length)C_CrImg83379=0; if(Car_Direction83379){ CW_I83379[C_HalfNo83379] = CW_I83379[0]; for(i83379=0;i83379 0;i83379--)CW_I83379[i83379]=CW_I83379[i83379-1]; CW_I83379[0]=CW_I83379[C_HalfNo83379]; CW_I83379[0].src=Car_Image_Sources83379[C_CrImg83379]; CW_I83379[0].lnk=Car_Image_Sources83379[C_CrImg83379+1]; CW_I83379[0].desc=FootersAll83379[C_CrImg83379]; CW_I83379[0].newwin=myNewWin83379[C_CrImg83379]; } C_Angle83379 = Car_Direction83379 ? Math.PI/C_HalfNo83379:0;C_CrImg83379+=2;}} carTimer83379 = setTimeout("CarImages83379()",50);} function C_LdLnk83379(){go_urlrandimage83379(-1,this.newwin,this.lnk,this.src);} function C_Stp83379(){this.style.cursor=this.lnk?"pointer":"default";C_Stppd83379=true;changeTextrandimage83379("divtextrandimage83379",this.desc);} function C_Rstrt83379(){C_Stppd83379=false;changeTextrandimage83379("divtextrandimage83379","");} setTimeout("CarouselStart83379()",100);