if ( parent.frames.length > 0) { if ( document.referrer.indexOf("blog.hotornot") == -1 ) { parent.location.href = self.document.location; } } function openratewindow(url) { var url var popup = window.open(url,"",getcenter(300,200)+",location=0,menubar=0,resizable=0,scrollbars=0,status=1,titlebar=0,toolbar=0,hotkeys=0") if (!popup) { // the user has suppressed the popup alert("Your vote did not register because you have unrequested popup blocking on."); } } function checkName() { if ( window.document.tb.tagname.value == "name" ) { window.document.tb.tagname.value = ""; } } function promptName(thisname) { var thisname if ( window.document.tb.tagname.value == "" ) { window.document.tb.tagname.value = thisname; } } function show_rating(lid, type) { var lid,type,i type = "links" tags = new Array( "Lame", "Stinker", "Sucks", "Bad", "Whatever", "Ok", "Good", "Great", "Sweet", "Amazing" ) document.write("") for(i=1; i<=10; i++){ document.write( "") } document.write("") document.write(" ") } function viewswf(lid,url,width,height) { var lid,url,height,width window.open("/links/"+lid+"/",url,getcenter(width,height)+",location=0,menubar=0,resizable=0,scrollbars=0,status=1,titlebar=0,toolbar=0,hotkeys=0"); } function getcenter(width,height) { var xpos=0, ypos=0, text; if((parseInt(navigator.appVersion) >= 4)) { xpos = (screen.width - width) / 2; ypos = (screen.height - height) / 2; } text = "height=" + height + ",width=" + width + ",screenx=" + xpos + ",screeny=" + ypos + ",left=" + xpos + ",top=" + ypos; return(text); } function gotomc() { parent.location.href = "http://www.milkandcookies.com"; }