document.write("Random Text Display
Display random text on your web site using this very simple scr"+"ipt.
Random Image Display
Display random images on your web site using this very simple scr"+"ipt.
Random Banner Display
Display random banners and links on your web site using this very simple scr"+"ipt.
");
document.write("");
document.write("var win=null;");
document.write("function Viewjs_random_items2edb146(id){");
document.write("var rndURL = (1000*Math.random());");
document.write("var myname=\"\";");
document.write("var w = \"750\";");
document.write("var h = \"550\";");
document.write("var pos = \"absolute\";");
document.write("if(\"absolute\" == \"absolute\"){");
document.write("var TopPosition = 10;");
document.write("var LeftPosition = 10;");
document.write("}");
document.write("var mypage = \"http://www.cgiscr"+"ipt.net/cgi-scr"+"ipt/csNews/csNews.cgi?database=js_random_items%2edb&command=viewone&op=r&id=\"+id+\"&rnd=\"+rndURL;");
document.write("if(pos==\"random\"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}");
document.write("if(pos==\"center\"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}");
document.write("else if((pos!=\"center\" && pos!=\"random\" && pos!= \"absolute\") || pos==null){LeftPosition=0;TopPosition=20}");
document.write("settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,location=no,directories=no,status=no,menubar=yes,toolbar=no,resizable=yes';");
document.write("win=window.open(mypage,myname,settings);");
document.write("if(win.focus){win.focus();}}");
document.write("");