<!-- hide script from old browsers 

function open_sexyplanet10() {window.open('sexyplanet10.html', 'sexyplanet10') ;}
function open_link(){window.open('linking.html', 'link', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=1,width=555,height=400') ;}
function open_link2(){window.open('linking2.html', 'link2', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=1,width=555,height=450') ;}	
function open_list(){window.open('/ebook/freeSEOguide.html', 'list', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=1,width=790,height=525') ;}
function open_yearsubmit(){window.open('yearsubmit.html', 'yearsubmit', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=1,width=569,height=430') ;}
function open_lifesubmit(){window.open('lifesubmit.html', 'lifesubmit', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=1,width=569,height=430') ;}
function open_linktous(){window.open('/linktous.html', 'linktous', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=1,width=410,height=360') ;}
function open_survey(){window.open('http://www.sexylingeriedirectory.com/survey.html', 'survey', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=0,width=375,height=341') ;}
function open_poll(){window.open('/poll/index.php', 'poll', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=1,width=425,height=380') ;}
function open_moredir(){window.open('more_directories.html', 'moredir', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=1,width=410,height=390') ;}
function open_contact(){window.open('/newcontact.html', 'contact', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=1,width=435,height=420') ;}
function open_advertcontact(){window.open('advertcontact.html', 'advertcontact', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=1,width=435,height=420') ;}


function checkform() { var wherecheck = 1;
  for (i=0;i<1;i++)
    if (document.form1.category.value == '') {alert ('Please enter the category for your site');}
    else if (document.form1.theirwebsite.value == '') {alert ('Please enter your website address');}
    else if (document.form1.title.value == '') {alert ('Please enter a title for your website');}
    else if (document.form1.description.value == '') {alert ('Please enter a description for your website');}
    else if (document.form1.name.value == '') {alert ('You must enter your real name');}
    else if (!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(document.form1.email.value)) {alert ('Please enter a valid email address');}
    else {document.form1.submit();}
}
	
function textCounter(field,counter,maxlimit,linecounter) {
	// text width//
	var fieldWidth =  parseInt(field.offsetWidth);
	var charcnt = field.value.length;        

	// trim the extra text
	if (charcnt > maxlimit) { 
		field.value = field.value.substring(0, maxlimit);
	}

	else { 
	// progress bar percentage
	var percentage = parseInt(100 - (( maxlimit - charcnt) * 100)/maxlimit) ;
	document.getElementById(counter).style.width =  parseInt((fieldWidth*percentage)/100)+"px";
	document.getElementById(counter).innerHTML="Max: "+percentage+"%"
	// color correction on style from CCFFF -> CC0000
	setcolor(document.getElementById(counter),percentage,"background-color");
	}
}

function setcolor(obj,percentage,prop){
	obj.style[prop] = "rgb(80%,"+(100-percentage)+"%,"+(100-percentage)+"%)";
}
		
 function returnDate() {
    var this_month = new Array(12);
    this_month[0]  = "January";
    this_month[1]  = "February";
    this_month[2]  = "March";
    this_month[3]  = "April";
    this_month[4]  = "May";
    this_month[5]  = "June";
    this_month[6]  = "July";
    this_month[7]  = "August";
    this_month[8]  = "September";
    this_month[9]  = "October";
    this_month[10] = "November";
    this_month[11] = "December";

    var this_day = new Array(7);
    this_day[0]  = "Sunday";
    this_day[1]  = "Monday";
    this_day[2]  = "Tuesday";
    this_day[3]  = "Wednesday";
    this_day[4]  = "Thursday";
    this_day[5]  = "Friday";
    this_day[6]  = "Saturday";

    var today = new Date();
    var day   = today.getDate();
    var month = today.getMonth();
    var year  = today.getYear();
    var weekday = today.getDay();
    if (year< 1900) 
      year += 1900;
    SrcStr = (this_day[weekday]+", "+day+" "+this_month[month]+", "+year);
    document.write(SrcStr);	  
  }		


// end hiding script from old browsers -->


<!--

if (parent.frames.length > 0) {
    parent.location.href = self.document.location
}


//-->