var timenowrandimage82879 = 0;
var counttimerrandimage82879 = -1;
var counttimerlrandimage82879 = counttimerrandimage82879;
var timesetrandimage82879 = 10;
var nimagerandimage82879 = new Image;
var imagesrandimage82879 = new Array('http://www.cgiconnection.com/randimage4/images/instahoverads.jpg','http://www.cgiconnection.com/randimage4/images/instaphoto.jpg','http://www.cgiconnection.com/randimage4/images/cgiofficecrm.jpg','http://www.cgiconnection.com/randimage4/images/chat20.jpg','http://www.cgiconnection.com/randimage4/images/surveymaker.jpg','http://www.cgiconnection.com/randimage4/images/instasite.jpg','http://www.cgiconnection.com/randimage4/images/imagerotator.jpg','http://www.cgiconnection.com/randimage4/images/formpro.jpg');
var urlsrandimage82879 = new Array('http://','http://','http://','http://','http://','http://','http://','http://');
var timesrandimage82879 = new Array('','','','','','','','');
var newwinsrandimage82879 = new Array('','','','','','','','');
var footersrandimage82879 = new Array('','','','','','','','');
var timerrandimage82879;
var timerfrandimage82879;
var i = 0;
var preloadimgrandimage82879 = 1;
var footerrandimage82879 = '
100+ Auto-Installing Web Site Software Titles ';
var statusrandimage82879 = '';
var floatidrandimage82879 = 0;
var zoomidrandimage82879 = 0;
var carrandimage82879 = 1;
var fadeSpeedrandimage82879 = 10;
var outTime = 2100 - (fadeSpeedrandimage82879 * 35);
var objrandimage82879;
var opacityrandimage82879;
var nsrandimage82879 = document.layers;
var ierandimage82879 = document.all;
var fadeinvalrandimage82879 = "";
var fadeoutvalrandimage82879 = "";
var sliderandimage82879 = 0;
var zfrandimage82879 = 0.075;
var ztrandimage82879 = 500;
var wcrandimage82879;
var Elemrandimage82879;
var yPosrandimage82879 = 0;
var xPosrandimage82879 = 0;
var xPostrandimage82879 = 0;
var yPostrandimage82879 = 0;
var gsrandimage82879 = "";
if (preloadimgrandimage82879 == 1)
{
for(i=0; i < imagesrandimage82879.length; i++)
{
nimagerandimage82879.src = imagesrandimage82879[i];
}
}
function setOpacrandimage82879(objrandimage82879, opacityrandimage82879) {
opacityrandimage82879 = (opacityrandimage82879 == 100)?99.999:opacityrandimage82879;
if (nsrandimage82879)
{
objrandimage82879.style.MozOpacity = opacityrandimage82879/100;
}
else if (ierandimage82879)
{
objrandimage82879.style.filter = "alpha(opacity:"+opacityrandimage82879+")";
}
else
{
objrandimage82879.style.opacity = opacityrandimage82879/100;
}
}
function fadeInrandimage82879(objIdrandimage82879,opacityrandimage82879) {
if (document.getElementById) {
objrandimage82879 = document.getElementById(objIdrandimage82879);
if (opacityrandimage82879 <= 100) {
setOpacrandimage82879(objrandimage82879, opacityrandimage82879);
opacityrandimage82879 += fadeSpeedrandimage82879;
window.setTimeout("fadeInrandimage82879('" + objIdrandimage82879 +"',"+opacityrandimage82879+")", 100);
}
else
{
setOpacrandimage82879(objrandimage82879, 100);
}
}
}
function fadeOutrandimage82879(objIdrandimage82879,opacityrandimage82879) {
if (document.getElementById) {
objrandimage82879 = document.getElementById(objIdrandimage82879);
if (opacityrandimage82879 >= 0) {
setOpacrandimage82879(objrandimage82879, opacityrandimage82879);
opacityrandimage82879 = opacityrandimage82879 - fadeSpeedrandimage82879;
window.setTimeout("fadeOutrandimage82879('" + objIdrandimage82879 +"',"+opacityrandimage82879+")", 100);
}
else
{
setOpacrandimage82879(objrandimage82879, 0);
}
}
}
function changeTextrandimage82879(div_id,val){
elm=document.getElementById(div_id);
elm.innerHTML = '
' + val + footerrandimage82879 + '
';
}
document.write('');
if (floatidrandimage82879 == 1)
{
document.write('');
}
document.write('
');
document.write('
');
document.write('');
if (carrandimage82879 == 1)
{
document.write('');
}
if (sliderandimage82879 == 1)
{
document.write('');
document.write(' ');
document.write(' ');
document.write(' ');
}
if (sliderandimage82879 != 1 && carrandimage82879 != 1)
{
if (zoomidrandimage82879 == 0)
{
document.write('');
}
else
{
document.write('');
}
document.write('');
document.write(' |
');
}
if (sliderandimage82879 == 1 || carrandimage82879 == 1)
{
document.write('' + footerrandimage82879 + ' |
');
}
else
{
document.write(' |
');
}
document.write('');
document.write('
');
if (floatidrandimage82879 == 1)
{
document.write('
');
}
var imageIdrandimage82879 = 'randimage82879';
var imageElemrandimage82879 = document.getElementById(imageIdrandimage82879);
var tempURLnum;
function go_urlrandimage82879(tempURLnum,openinnew,templink,tempsrc) {
window.status = statusrandimage82879;
var myURL = "";
var isNew = "";
var mySRC = "";
var mainURL = "http://www.cgiconnection.com/cgi-bin/cgi-con/randimage4.cgi";
var recURL82879 = 0;
if (tempURLnum > 0)
{
counttimerrandimage82879 = tempURLnum - 1;
}
if (tempURLnum == -1)
{
myURL = templink;
mySRC = tempsrc;
isNew = openinnew;
}
else
{
myURL = urlsrandimage82879[counttimerrandimage82879];
mySRC = imagesrandimage82879[counttimerrandimage82879];
isNew = newwinsrandimage82879[counttimerrandimage82879];
}
if (myURL != "" && myURL != "http://")
{
if (recURL82879 == 1)
{
myURL = mainURL + '?filename=software&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_backrandimage82879() {
clearTimeout(timerfrandimage82879);
window.status = statusrandimage82879;
counttimerlrandimage82879 = counttimerrandimage82879;
counttimerrandimage82879 = counttimerrandimage82879 - 1;
begin_imagerandimage82879(1);
}
function go_nextrandimage82879() {
clearTimeout(timerfrandimage82879);
window.status = statusrandimage82879;
counttimerlrandimage82879 = counttimerrandimage82879;
counttimerrandimage82879++;
begin_imagerandimage82879(1);
}
function begin_imagerandimage82879(doit) {
if (counttimerrandimage82879 >= (imagesrandimage82879.length - 1))
{
if (doit < 1)
{
counttimerrandimage82879 = 0;
}
}
else
{
if (doit < 1)
{
counttimerrandimage82879++;
}
}
if (counttimerrandimage82879 < 0 && doit == 1)
{
counttimerrandimage82879 = imagesrandimage82879.length - 1;
}
if (counttimerrandimage82879 > (imagesrandimage82879.length - 1) && doit == 1)
{
counttimerrandimage82879 = 0;
}
var tempTime = timesrandimage82879[counttimerrandimage82879];
if (tempTime < 1)
{
tempTime = timesetrandimage82879;
}
tempTime = tempTime * 1000;
if (fadeinvalrandimage82879 == 'Y')
{
setOpacrandimage82879(imageElemrandimage82879, 0);
}
if (fadeinvalrandimage82879 == '' && fadeoutvalrandimage82879 == 'Y')
{
setOpacrandimage82879(imageElemrandimage82879, 100);
}
nimagerandimage82879.src = imagesrandimage82879[counttimerrandimage82879];
document.randimage82879.src = nimagerandimage82879.src;
changeTextrandimage82879("divtextrandimage82879",footersrandimage82879[counttimerrandimage82879]);
if (fadeinvalrandimage82879 == 'Y')
{
fadeInrandimage82879(imageIdrandimage82879,0);
}
if (fadeoutvalrandimage82879 == 'Y')
{
timerfrandimage82879 = setTimeout('fadeOutrandimage82879(imageIdrandimage82879,100);', (tempTime - outTime));
}
clearTimeout(timerrandimage82879);
timerrandimage82879 = setTimeout('begin_imagerandimage82879(0);', tempTime);
}
function dimsrandimage82879(Elemrandimage82879) {
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 (xPosrandimage82879 > 0)
{
xPostrandimage82879 = xPosrandimage82879;
yPostrandimage82879 = yPosrandimage82879;
wcrandimage82879.style.width = xPosrandimage82879;
wcrandimage82879.style.height = yPosrandimage82879;
}
if (ns4) {
var Elemrandimage82879 = getObjNN4(document, Elemrandimage82879);
yPosrandimage82879 = Elemrandimage82879.clip.height;
xPosrandimage82879 = Elemrandimage82879.clip.width;
return;
}
else {
var Elemrandimage82879;
if(document.getElementById) {
var Elemrandimage82879 = document.getElementById(Elemrandimage82879);
}
else if (document.all) {
var Elemrandimage82879 = document.all[Elemrandimage82879];
}
}
if (op5) {
yPosrandimage82879 = Elemrandimage82879.style.pixelHeight;
xPosrandimage82879 = Elemrandimage82879.style.pixelWidth;
}
else {
yPosrandimage82879 = Elemrandimage82879.offsetHeight;
xPosrandimage82879 = Elemrandimage82879.offsetWidth;
}
}
function znrandimage82879() {
clearTimeout(timerrandimage82879);
clearTimeout(timerfrandimage82879);
czrandimage82879();
if (xPosrandimage82879 > 0)
{
wcrandimage82879.style.width = xPosrandimage82879;
wcrandimage82879.style.height = yPosrandimage82879;
}
dimsrandimage82879("randimage82879");
window.status=statusrandimage82879;
zoomrandimage82879(xPosrandimage82879,yPosrandimage82879,'randimage82879','in');
timerrandimage82879 = setTimeout("czrandimage82879();", ztrandimage82879);
}
function zbrandimage82879() {
xPostrandimage82879 = xPosrandimage82879;
yPostrandimage82879 = yPosrandimage82879;
clearTimeout(timerrandimage82879);
czrandimage82879();
setOpacrandimage82879(imageElemrandimage82879, 100);
zoomrandimage82879(xPosrandimage82879,yPosrandimage82879,'randimage82879','out');
timerrandimage82879 = setTimeout('begin_imagerandimage82879(0);', counttimerlrandimage82879);
}
function zhrandimage82879(){
if (gsrandimage82879 == "out" && (xPostrandimage82879 < xPosrandimage82879 || yPostrandimage82879 < yPosrandimage82879))
{
setOpacrandimage82879(imageElemrandimage82879, 100);
xPostrandimage82879 = xPosrandimage82879;
yPostrandimage82879 = yPosrandimage82879;
wcrandimage82879.style.width = xPosrandimage82879;
wcrandimage82879.style.height = yPosrandimage82879;
gsrandimage82879 = "";
czrandimage82879();
return;
}
if (parseInt(wcrandimage82879.style.width)>10&&parseInt(wcrandimage82879.style.height)>10)
{
xPostrandimage82879 = parseInt(wcrandimage82879.style.width) + parseInt(wcrandimage82879.style.width) * zfrandimage82879 * pfrandimage82879;
yPostrandimage82879 = parseInt(wcrandimage82879.style.height) + parseInt(wcrandimage82879.style.height) * zfrandimage82879 * pfrandimage82879;
wcrandimage82879.style.width = xPostrandimage82879;
wcrandimage82879.style.height = yPostrandimage82879;
}
}
function zoomrandimage82879(originalW, originalH, what, state){
gsrandimage82879 = state;
if (!document.all&&!document.getElementById) {
return;
}
wcrandimage82879 = eval("document.images."+what);
pfrandimage82879 = (state=="in")? 1 : -1;
if (wcrandimage82879.style.width=="")
{
wcrandimage82879.style.width=originalW;
wcrandimage82879.style.height=originalH;
}
if (state=="restore"){
xPostrandimage82879 = xPosrandimage82879;
yPostrandimage82879 = yPosrandimage82879;
wcrandimage82879.style.width=originalW;
wcrandimage82879.style.height=originalH;
czrandimage82879();
return;
}
else
{
zhrandimage82879();
}
bzrandimage82879 = setInterval("zhrandimage82879()",100);
}
function czrandimage82879(){
if (window.bzrandimage82879) {
if (gsrandimage82879 != "in" && (xPostrandimage82879 != xPosrandimage82879 || yPostrandimage82879 != yPosrandimage82879))
{
xPostrandimage82879 = xPosrandimage82879;
yPostrandimage82879 = yPosrandimage82879;
wcrandimage82879.style.width = xPosrandimage82879;
wcrandimage82879.style.height = yPosrandimage82879;
gsrandimage82879 = "";
}
clearInterval(bzrandimage82879);
}
}
var tempcount2;
var tempcount5;
var Car_Image_Sources82879 = new Array();
var FootersAll82879 = new Array();
var myNewWin82879 = new Array();
var imglength82879 = imagesrandimage82879.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_Width82879 = 145;
var Car_Image_Height82879 = 155;
var Car_Border=false;
var Car_Border_Color="white";
var Car_Speed82879 = 2;
var Car_Direction82879 = true;
var Car_NoOfSides82879 = 8;
var tempcounta82879 = 0;
var carTimer82879;
var tempL82879 = 0;
function startItC82879(whichOne) {
if (whichOne == 0)
{
clearTimeout(carTimer82879);
Car_Direction82879 = true;
}
else
{
clearTimeout(carTimer82879);
Car_Direction82879 = false;
}
carTimer82879 = setTimeout("CarImages82879()",50);
}
if (imglength82879 < 6)
{
tempL82879 = 7 - imglength82879;
}
if (tempL82879 < 1)
{
tempL82879 = 1;
}
var mainCount82879 = 0;
for (tempcount5 = 0; tempcount5 < tempL82879; tempcount5++)
{
for (tempcount2 = 0; tempcount2 < imglength82879; tempcount2++)
{
var tempVal = imagesrandimage82879[tempcount2];
Car_Image_Sources82879[tempcounta82879] = tempVal;
FootersAll82879[tempcounta82879] = footersrandimage82879[tempcount2];
myNewWin82879[tempcounta82879] = newwinsrandimage82879[tempcount2];
tempcounta82879++;
Car_Image_Sources82879[tempcounta82879] = urlsrandimage82879[tempcount2];
FootersAll82879[tempcounta82879] = footersrandimage82879[tempcount2];
myNewWin82879[tempcounta82879] = newwinsrandimage82879[tempcount2];
tempcounta82879++;
mainCount82879++;
}
}
imglength82879 = mainCount82879;
CW_I82879 = new Array(Car_NoOfSides82879 / 2+1);C_ClcW82879 = new Array(Car_NoOfSides82879 / 2);
C_Coef82879 = 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_CoefOf82879 = Car_NoOfSides82879 == 4?0:Car_NoOfSides82879 == 6 ? 2:Car_NoOfSides82879 == 8?5:9;
C_Pre_Img82879 = new Array(Car_Image_Sources82879.length);
var C_Angle82879 = Car_Direction82879 ? Math.PI/(Car_NoOfSides82879 / 2):0,C_CrImg82879 = Car_NoOfSides82879,C_MaxW82879,C_TotalW82879,C_Stppd82879=false,i82879,C_LeftOffset82879,C_HalfNo82879 = Car_NoOfSides82879 / 2;
function CarouselStart82879(){
if(document.getElementById){
for(i82879=0;i82879 < Car_Image_Sources82879.length; i82879+=2){
C_Pre_Img82879[i82879]=new Image();C_Pre_Img82879[i82879].src=Car_Image_Sources82879[i82879]}
C_MaxW82879=Car_Image_Width82879 / Math.sin(Math.PI/Car_NoOfSides82879)+C_HalfNo82879 + 1;
Car_Div=document.getElementById("Carousel82879");
for(i82879=0;i82879= Math.PI/C_HalfNo82879)){
if(C_CrImg82879 == Car_Image_Sources82879.length)C_CrImg82879=0;
if(Car_Direction82879){
CW_I82879[C_HalfNo82879] = CW_I82879[0];
for(i82879=0;i82879 0;i82879--)CW_I82879[i82879]=CW_I82879[i82879-1];
CW_I82879[0]=CW_I82879[C_HalfNo82879];
CW_I82879[0].src=Car_Image_Sources82879[C_CrImg82879];
CW_I82879[0].lnk=Car_Image_Sources82879[C_CrImg82879+1];
CW_I82879[0].desc=FootersAll82879[C_CrImg82879];
CW_I82879[0].newwin=myNewWin82879[C_CrImg82879];
}
C_Angle82879 = Car_Direction82879 ? Math.PI/C_HalfNo82879:0;C_CrImg82879+=2;}}
carTimer82879 = setTimeout("CarImages82879()",50);}
function C_LdLnk82879(){go_urlrandimage82879(-1,this.newwin,this.lnk,this.src);}
function C_Stp82879(){this.style.cursor=this.lnk?"pointer":"default";C_Stppd82879=true;changeTextrandimage82879("divtextrandimage82879",this.desc);}
function C_Rstrt82879(){C_Stppd82879=false;changeTextrandimage82879("divtextrandimage82879","");}
setTimeout("CarouselStart82879()",100);