var timenowrandimage21839 = 0;
var counttimerrandimage21839 = -1;
var counttimerlrandimage21839 = counttimerrandimage21839;
var timesetrandimage21839 = 10;
var nimagerandimage21839 = new Image;
var imagesrandimage21839 = new Array('http://www.cgiconnection.com/randimage4/images/surveymaker.jpg','http://www.cgiconnection.com/randimage4/images/imagerotator.jpg','http://www.cgiconnection.com/randimage4/images/formpro.jpg','http://www.cgiconnection.com/randimage4/images/instasite.jpg','http://www.cgiconnection.com/randimage4/images/instahoverads.jpg','http://www.cgiconnection.com/randimage4/images/chat20.jpg','http://www.cgiconnection.com/randimage4/images/instaphoto.jpg','http://www.cgiconnection.com/randimage4/images/cgiofficecrm.jpg');
var urlsrandimage21839 = new Array('http://','http://','http://','http://','http://','http://','http://','http://');
var timesrandimage21839 = new Array('','','','','','','','');
var newwinsrandimage21839 = new Array('','','','','','','','');
var footersrandimage21839 = new Array('','','','','','','','');
var timerrandimage21839;
var timerfrandimage21839;
var i = 0;
var preloadimgrandimage21839 = 1;
var footerrandimage21839 = '
100+ Auto-Installing Web Site Software Titles ';
var statusrandimage21839 = '';
var floatidrandimage21839 = 0;
var zoomidrandimage21839 = 0;
var carrandimage21839 = 1;
var fadeSpeedrandimage21839 = 10;
var outTime = 2100 - (fadeSpeedrandimage21839 * 35);
var objrandimage21839;
var opacityrandimage21839;
var nsrandimage21839 = document.layers;
var ierandimage21839 = document.all;
var fadeinvalrandimage21839 = "";
var fadeoutvalrandimage21839 = "";
var sliderandimage21839 = 0;
var zfrandimage21839 = 0.075;
var ztrandimage21839 = 500;
var wcrandimage21839;
var Elemrandimage21839;
var yPosrandimage21839 = 0;
var xPosrandimage21839 = 0;
var xPostrandimage21839 = 0;
var yPostrandimage21839 = 0;
var gsrandimage21839 = "";
if (preloadimgrandimage21839 == 1)
{
for(i=0; i < imagesrandimage21839.length; i++)
{
nimagerandimage21839.src = imagesrandimage21839[i];
}
}
function setOpacrandimage21839(objrandimage21839, opacityrandimage21839) {
opacityrandimage21839 = (opacityrandimage21839 == 100)?99.999:opacityrandimage21839;
if (nsrandimage21839)
{
objrandimage21839.style.MozOpacity = opacityrandimage21839/100;
}
else if (ierandimage21839)
{
objrandimage21839.style.filter = "alpha(opacity:"+opacityrandimage21839+")";
}
else
{
objrandimage21839.style.opacity = opacityrandimage21839/100;
}
}
function fadeInrandimage21839(objIdrandimage21839,opacityrandimage21839) {
if (document.getElementById) {
objrandimage21839 = document.getElementById(objIdrandimage21839);
if (opacityrandimage21839 <= 100) {
setOpacrandimage21839(objrandimage21839, opacityrandimage21839);
opacityrandimage21839 += fadeSpeedrandimage21839;
window.setTimeout("fadeInrandimage21839('" + objIdrandimage21839 +"',"+opacityrandimage21839+")", 100);
}
else
{
setOpacrandimage21839(objrandimage21839, 100);
}
}
}
function fadeOutrandimage21839(objIdrandimage21839,opacityrandimage21839) {
if (document.getElementById) {
objrandimage21839 = document.getElementById(objIdrandimage21839);
if (opacityrandimage21839 >= 0) {
setOpacrandimage21839(objrandimage21839, opacityrandimage21839);
opacityrandimage21839 = opacityrandimage21839 - fadeSpeedrandimage21839;
window.setTimeout("fadeOutrandimage21839('" + objIdrandimage21839 +"',"+opacityrandimage21839+")", 100);
}
else
{
setOpacrandimage21839(objrandimage21839, 0);
}
}
}
function changeTextrandimage21839(div_id,val){
elm=document.getElementById(div_id);
elm.innerHTML = '
' + val + footerrandimage21839 + '
';
}
document.write('');
if (floatidrandimage21839 == 1)
{
document.write('');
}
document.write('
');
document.write('
');
document.write('');
if (carrandimage21839 == 1)
{
document.write('');
}
if (sliderandimage21839 == 1)
{
document.write('');
document.write(' ');
document.write(' ');
document.write(' ');
}
if (sliderandimage21839 != 1 && carrandimage21839 != 1)
{
if (zoomidrandimage21839 == 0)
{
document.write('');
}
else
{
document.write('');
}
document.write(' ');
document.write(' |
');
}
if (sliderandimage21839 == 1 || carrandimage21839 == 1)
{
document.write('' + footerrandimage21839 + ' |
');
}
else
{
document.write(' |
');
}
document.write('');
document.write('
');
if (floatidrandimage21839 == 1)
{
document.write('
');
}
var imageIdrandimage21839 = 'randimage21839';
var imageElemrandimage21839 = document.getElementById(imageIdrandimage21839);
var tempURLnum;
function go_urlrandimage21839(tempURLnum,openinnew,templink,tempsrc) {
window.status = statusrandimage21839;
var myURL = "";
var isNew = "";
var mySRC = "";
var mainURL = "http://www.cgiconnection.com/cgi-bin/cgi-con/randimage4.cgi";
var recURL21839 = 0;
if (tempURLnum > 0)
{
counttimerrandimage21839 = tempURLnum - 1;
}
if (tempURLnum == -1)
{
myURL = templink;
mySRC = tempsrc;
isNew = openinnew;
}
else
{
myURL = urlsrandimage21839[counttimerrandimage21839];
mySRC = imagesrandimage21839[counttimerrandimage21839];
isNew = newwinsrandimage21839[counttimerrandimage21839];
}
if (myURL != "" && myURL != "http://")
{
if (recURL21839 == 1)
{
myURL = mainURL + '?filename=softwarebig&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_backrandimage21839() {
clearTimeout(timerfrandimage21839);
window.status = statusrandimage21839;
counttimerlrandimage21839 = counttimerrandimage21839;
counttimerrandimage21839 = counttimerrandimage21839 - 1;
begin_imagerandimage21839(1);
}
function go_nextrandimage21839() {
clearTimeout(timerfrandimage21839);
window.status = statusrandimage21839;
counttimerlrandimage21839 = counttimerrandimage21839;
counttimerrandimage21839++;
begin_imagerandimage21839(1);
}
function begin_imagerandimage21839(doit) {
if (counttimerrandimage21839 >= (imagesrandimage21839.length - 1))
{
if (doit < 1)
{
counttimerrandimage21839 = 0;
}
}
else
{
if (doit < 1)
{
counttimerrandimage21839++;
}
}
if (counttimerrandimage21839 < 0 && doit == 1)
{
counttimerrandimage21839 = imagesrandimage21839.length - 1;
}
if (counttimerrandimage21839 > (imagesrandimage21839.length - 1) && doit == 1)
{
counttimerrandimage21839 = 0;
}
var tempTime = timesrandimage21839[counttimerrandimage21839];
if (tempTime < 1)
{
tempTime = timesetrandimage21839;
}
tempTime = tempTime * 1000;
if (fadeinvalrandimage21839 == 'Y')
{
setOpacrandimage21839(imageElemrandimage21839, 0);
}
if (fadeinvalrandimage21839 == '' && fadeoutvalrandimage21839 == 'Y')
{
setOpacrandimage21839(imageElemrandimage21839, 100);
}
nimagerandimage21839.src = imagesrandimage21839[counttimerrandimage21839];
document.randimage21839.src = nimagerandimage21839.src;
changeTextrandimage21839("divtextrandimage21839",footersrandimage21839[counttimerrandimage21839]);
if (fadeinvalrandimage21839 == 'Y')
{
fadeInrandimage21839(imageIdrandimage21839,0);
}
if (fadeoutvalrandimage21839 == 'Y')
{
timerfrandimage21839 = setTimeout('fadeOutrandimage21839(imageIdrandimage21839,100);', (tempTime - outTime));
}
clearTimeout(timerrandimage21839);
timerrandimage21839 = setTimeout('begin_imagerandimage21839(0);', tempTime);
}
function dimsrandimage21839(Elemrandimage21839) {
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 (xPosrandimage21839 > 0)
{
xPostrandimage21839 = xPosrandimage21839;
yPostrandimage21839 = yPosrandimage21839;
wcrandimage21839.style.width = xPosrandimage21839;
wcrandimage21839.style.height = yPosrandimage21839;
}
if (ns4) {
var Elemrandimage21839 = getObjNN4(document, Elemrandimage21839);
yPosrandimage21839 = Elemrandimage21839.clip.height;
xPosrandimage21839 = Elemrandimage21839.clip.width;
return;
}
else {
var Elemrandimage21839;
if(document.getElementById) {
var Elemrandimage21839 = document.getElementById(Elemrandimage21839);
}
else if (document.all) {
var Elemrandimage21839 = document.all[Elemrandimage21839];
}
}
if (op5) {
yPosrandimage21839 = Elemrandimage21839.style.pixelHeight;
xPosrandimage21839 = Elemrandimage21839.style.pixelWidth;
}
else {
yPosrandimage21839 = Elemrandimage21839.offsetHeight;
xPosrandimage21839 = Elemrandimage21839.offsetWidth;
}
}
function znrandimage21839() {
clearTimeout(timerrandimage21839);
clearTimeout(timerfrandimage21839);
czrandimage21839();
if (xPosrandimage21839 > 0)
{
wcrandimage21839.style.width = xPosrandimage21839;
wcrandimage21839.style.height = yPosrandimage21839;
}
dimsrandimage21839("randimage21839");
window.status=statusrandimage21839;
zoomrandimage21839(xPosrandimage21839,yPosrandimage21839,'randimage21839','in');
timerrandimage21839 = setTimeout("czrandimage21839();", ztrandimage21839);
}
function zbrandimage21839() {
xPostrandimage21839 = xPosrandimage21839;
yPostrandimage21839 = yPosrandimage21839;
clearTimeout(timerrandimage21839);
czrandimage21839();
setOpacrandimage21839(imageElemrandimage21839, 100);
zoomrandimage21839(xPosrandimage21839,yPosrandimage21839,'randimage21839','out');
timerrandimage21839 = setTimeout('begin_imagerandimage21839(0);', counttimerlrandimage21839);
}
function zhrandimage21839(){
if (gsrandimage21839 == "out" && (xPostrandimage21839 < xPosrandimage21839 || yPostrandimage21839 < yPosrandimage21839))
{
setOpacrandimage21839(imageElemrandimage21839, 100);
xPostrandimage21839 = xPosrandimage21839;
yPostrandimage21839 = yPosrandimage21839;
wcrandimage21839.style.width = xPosrandimage21839;
wcrandimage21839.style.height = yPosrandimage21839;
gsrandimage21839 = "";
czrandimage21839();
return;
}
if (parseInt(wcrandimage21839.style.width)>10&&parseInt(wcrandimage21839.style.height)>10)
{
xPostrandimage21839 = parseInt(wcrandimage21839.style.width) + parseInt(wcrandimage21839.style.width) * zfrandimage21839 * pfrandimage21839;
yPostrandimage21839 = parseInt(wcrandimage21839.style.height) + parseInt(wcrandimage21839.style.height) * zfrandimage21839 * pfrandimage21839;
wcrandimage21839.style.width = xPostrandimage21839;
wcrandimage21839.style.height = yPostrandimage21839;
}
}
function zoomrandimage21839(originalW, originalH, what, state){
gsrandimage21839 = state;
if (!document.all&&!document.getElementById) {
return;
}
wcrandimage21839 = eval("document.images."+what);
pfrandimage21839 = (state=="in")? 1 : -1;
if (wcrandimage21839.style.width=="")
{
wcrandimage21839.style.width=originalW;
wcrandimage21839.style.height=originalH;
}
if (state=="restore"){
xPostrandimage21839 = xPosrandimage21839;
yPostrandimage21839 = yPosrandimage21839;
wcrandimage21839.style.width=originalW;
wcrandimage21839.style.height=originalH;
czrandimage21839();
return;
}
else
{
zhrandimage21839();
}
bzrandimage21839 = setInterval("zhrandimage21839()",100);
}
function czrandimage21839(){
if (window.bzrandimage21839) {
if (gsrandimage21839 != "in" && (xPostrandimage21839 != xPosrandimage21839 || yPostrandimage21839 != yPosrandimage21839))
{
xPostrandimage21839 = xPosrandimage21839;
yPostrandimage21839 = yPosrandimage21839;
wcrandimage21839.style.width = xPosrandimage21839;
wcrandimage21839.style.height = yPosrandimage21839;
gsrandimage21839 = "";
}
clearInterval(bzrandimage21839);
}
}
var tempcount2;
var tempcount5;
var Car_Image_Sources21839 = new Array();
var FootersAll21839 = new Array();
var myNewWin21839 = new Array();
var imglength21839 = imagesrandimage21839.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_Width21839 = 220;
var Car_Image_Height21839 = 240;
var Car_Border=false;
var Car_Border_Color="white";
var Car_Speed21839 = 1;
var Car_Direction21839 = true;
var Car_NoOfSides21839 = 12;
var tempcounta21839 = 0;
var carTimer21839;
var tempL21839 = 0;
function startItC21839(whichOne) {
if (whichOne == 0)
{
clearTimeout(carTimer21839);
Car_Direction21839 = true;
}
else
{
clearTimeout(carTimer21839);
Car_Direction21839 = false;
}
carTimer21839 = setTimeout("CarImages21839()",50);
}
if (imglength21839 < 6)
{
tempL21839 = 7 - imglength21839;
}
if (tempL21839 < 1)
{
tempL21839 = 1;
}
var mainCount21839 = 0;
for (tempcount5 = 0; tempcount5 < tempL21839; tempcount5++)
{
for (tempcount2 = 0; tempcount2 < imglength21839; tempcount2++)
{
var tempVal = imagesrandimage21839[tempcount2];
Car_Image_Sources21839[tempcounta21839] = tempVal;
FootersAll21839[tempcounta21839] = footersrandimage21839[tempcount2];
myNewWin21839[tempcounta21839] = newwinsrandimage21839[tempcount2];
tempcounta21839++;
Car_Image_Sources21839[tempcounta21839] = urlsrandimage21839[tempcount2];
FootersAll21839[tempcounta21839] = footersrandimage21839[tempcount2];
myNewWin21839[tempcounta21839] = newwinsrandimage21839[tempcount2];
tempcounta21839++;
mainCount21839++;
}
}
imglength21839 = mainCount21839;
CW_I21839 = new Array(Car_NoOfSides21839 / 2+1);C_ClcW21839 = new Array(Car_NoOfSides21839 / 2);
C_Coef21839 = 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_CoefOf21839 = Car_NoOfSides21839 == 4?0:Car_NoOfSides21839 == 6 ? 2:Car_NoOfSides21839 == 8?5:9;
C_Pre_Img21839 = new Array(Car_Image_Sources21839.length);
var C_Angle21839 = Car_Direction21839 ? Math.PI/(Car_NoOfSides21839 / 2):0,C_CrImg21839 = Car_NoOfSides21839,C_MaxW21839,C_TotalW21839,C_Stppd21839=false,i21839,C_LeftOffset21839,C_HalfNo21839 = Car_NoOfSides21839 / 2;
function CarouselStart21839(){
if(document.getElementById){
for(i21839=0;i21839 < Car_Image_Sources21839.length; i21839+=2){
C_Pre_Img21839[i21839]=new Image();C_Pre_Img21839[i21839].src=Car_Image_Sources21839[i21839]}
C_MaxW21839=Car_Image_Width21839 / Math.sin(Math.PI/Car_NoOfSides21839)+C_HalfNo21839 + 1;
Car_Div=document.getElementById("Carousel21839");
for(i21839=0;i21839= Math.PI/C_HalfNo21839)){
if(C_CrImg21839 == Car_Image_Sources21839.length)C_CrImg21839=0;
if(Car_Direction21839){
CW_I21839[C_HalfNo21839] = CW_I21839[0];
for(i21839=0;i21839 0;i21839--)CW_I21839[i21839]=CW_I21839[i21839-1];
CW_I21839[0]=CW_I21839[C_HalfNo21839];
CW_I21839[0].src=Car_Image_Sources21839[C_CrImg21839];
CW_I21839[0].lnk=Car_Image_Sources21839[C_CrImg21839+1];
CW_I21839[0].desc=FootersAll21839[C_CrImg21839];
CW_I21839[0].newwin=myNewWin21839[C_CrImg21839];
}
C_Angle21839 = Car_Direction21839 ? Math.PI/C_HalfNo21839:0;C_CrImg21839+=2;}}
carTimer21839 = setTimeout("CarImages21839()",50);}
function C_LdLnk21839(){go_urlrandimage21839(-1,this.newwin,this.lnk,this.src);}
function C_Stp21839(){this.style.cursor=this.lnk?"pointer":"default";C_Stppd21839=true;changeTextrandimage21839("divtextrandimage21839",this.desc);}
function C_Rstrt21839(){C_Stppd21839=false;changeTextrandimage21839("divtextrandimage21839","");}
setTimeout("CarouselStart21839()",100);