google_ad_client = "pub-9363288336772124";
google_ad_slot = "8408772817";
google_ad_width = 728;
google_ad_height = 90;

var srchstatus = 0;
var srchtimer = null;

function underlogo()
{
  document.write("<TD WIDTH=470 HEIGHT=116 VALIGN=\'BOTTOM\' ALIGN=\'CENTER\' style=\'position:relative; top:-10px;\'><A HREF=\'http://www.sexydesktop.co.uk\'>Home</A> | <a href='index.htm'>Babe listing</A> | <a href='latest.htm'>Latest additions</a> | <a href=\'http://www.twitter.com/sexydesktop\'>Follow us on Twitter</a> | <a href=\'http://www.facebook.com/SexyDesktop\'>Follow us on Facebook</a></TD>");
}

function AdBriteBanner(ContainsNudity)
{

document.write("</script><script type=\'text/javascript\' src=\'http://pagead2.googlesyndication.com/pagead/show_ads.js\'></script>");

}

function info()
{
  document.write("<FONT FACE=\'Arial\' SIZE=2><H5><I>SexyDesktop</i> does not host images, it provides categorised links to wallpaper images stored on external sites found through Google Images, celebrity forums, other wallpaper sites or submitted by visitors and is not responsible for the content of those sites or the adverts that appear on them. Links open in a new window. SexyDesktop does not include any topless or nude images.</H5>");
  document.write("</FONT></P><P><FONT FACE=\'Arial\' SIZE=1>Layout of this site is &copy;2010 SexyDesktop - The Greatest Wallpaper Website.");
}

function nav(pagecount, thispage, celebid)
{

  if (pagecount == 1) return;

  document.write("<TABLE cellpadding=4 width=\'100%\' bgcolor=\'#FFFFCC\'><TR><TD>");

  document.write("</b>This is <b> Pg " + thispage + "</b> ");

  if (thispage != 1) {
    document.write("<a href=\'./" + celebid);
    if ((thispage - 1) != 1) document.write("-" + (thispage - 1));
    document.write(".htm\'> <b>&lt;Prev</b> </a>");
  }

  if (thispage != pagecount) document.write("<a href=\'./" + celebid + "-" + (thispage + 1) + ".htm\'> <b>Next&gt;</b> </a>");
  document.write(" Go to: <font size=1>");

  max = 0;
  startpg = 1;
  navtext = "";
  if (pagecount > 15) startpg = thispage - 6;
  if (startpg < 1) startpg = 1;
  if ((startpg + 15) > pagecount) startpg = pagecount - 15;

  for (u=1;u<=pagecount;u++)
  {
    if (u != thispage) {
      navtext = navtext + "<a href=\'./" + celebid;
      if (u != 1) navtext = navtext  + "-" + u;
      navtext = navtext + ".htm\'> <b>" + u + "</b> </a>|";
      max++;
    }
    if ((max == 15) && (u != (pagecount - 1)) && (u != pagecount)) {
      navtext = navtext.substr(0, navtext.length - 1) + " ... ";
      u = pagecount - 1;
    }
    if ((u == 1) && (startpg > 1)) {
      navtext = navtext.substr(0, navtext.length - 1) + " ... ";
      u = startpg;
    }
  }

  if (navtext.substr(navtext.length - 1, 1) == "|") navtext = navtext.substr(0, navtext.length - 1);
  document.write(navtext);
  document.write("</font></td></tr></table>");
}

function showrelevant(divnum, whichres)
{
  if (whichres == 0) {
    document.getElementById('norm' + divnum).style.visibility = 'visible';
    document.getElementById('wide' + divnum).style.visibility = 'hidden';
    }
   else {
    document.getElementById('norm' + divnum).style.visibility = 'hidden';
    document.getElementById('wide' + divnum).style.visibility = 'visible';
  }
}

function socials(sitepage, celebname)
{
  document.write("<a href=\'http://del.icio.us/post?url=http://www.sexydesktop.co.uk/" + sitepage + ".htm&title=" + celebname + " at SexyDesktop\' target=\'_new\'>Bookmark with Delicious</a><br>");
  document.write("<a href=\'http://digg.com/submit?url=http://www.sexydesktop.co.uk/" + sitepage + ".htm&title=" + celebname + " at SexyDesktop\' target=\'_new\'>Bookmark with Digg</a><br>");
  document.write("<a href=\'http://reddit.com/submit?url=http://www.sexydesktop.co.uk/" + sitepage + ".htm&title=" + celebname + " at SexyDesktop' target='_new'>Bookmark with Reddit</a><br>");
  document.write("<a href=\'http://www.facebook.com/sharer.php?u=http://www.sexydesktop.co.uk/" + sitepage + ".htm\' target=\'_new\'>Bookmark with Facebook</a><br>");
  document.write("<a href=\'http://www.stumbleupon.com/submit?url=http://www.sexydesktop.co.uk/" + sitepage + ".htm&title=" + celebname + " at SexyDesktop\' target=\'_new\'>Bookmark with StumbleUpon</a><br>");
}

function checkout()
{
  for (x in co)
  {
    co[x][1] = co[x][1].replace(/@iv/, '.imagevenue.com/loc');
    document.write("<table height=144 cellspacing=0 cellpadding=4>");
    document.write("<tr onMouseOver=\"this.className=\'hi\'\" onMouseOut=\"this.className=\'norm\'\">");
    document.write("<td width=164 align=\'center\' valign=\'top\'>");
    document.write("<a href=\'" + co[x][0] + ".htm\'>");
    document.write("<img border=0 width=160 height=120 src=\'http://img" + co[x][1] + "lo.jpg\'><BR>");
    document.write(co[x][2] + "</a></td></tr></table><BR>");
  }
}

function thumbs(celebid)
{
  newrow = 0 
  thumbsperrow = 2;
  document.write("<table width='100%'>");

  // Figure out if the screen is widescreen; if so, show widescreen thumbs as default;
  defnormal = 'visible';
  defwide = 'hidden';
  if ((screen.width / screen.height) >= 1.6) {
    defnormal = 'hidden';
    defwide = 'visible';
  }

  for (x in l)
  {
    for (y=0;y<=6;y++)
    {
      if (l[x][y] != undefined) l[x][y] = l[x][y].replace(/@iv/, '.imagevenue.com');
    }
    for (y=0;y<=6;y++)
    {
      if (l[x][y] != undefined) l[x][y] = l[x][y].replace(/@id/, '_' + celebid);
    }
    if (newrow == 0) {
      document.write("<tr>");
    }

    document.write("<td align='center' valign='top'>");
    document.write("<table height=154 cellspacing=0 cellpadding=4>");
    document.write("<tr onMouseOver=\"this.className=\'hi\'\" onMouseOut=\"this.className=\'norm\'\">");
    document.write("<td width=160 align=\'center\' valign=\'top\'>");

    if (l[x][0] == "skins") {
      if (l[x][1] == "") {
        document.write("<a href=\'http://www.skins.be\'>");
        document.write("<img border=0 width=160 height=120 src=\'../thumbs-@/1.jpg\'>");
        document.write("<br>Skins.be : Hot model and celebrity wallpapers for your desktop</a><br><br>");
        document.write("<a href=\'http://de.skins.be\'><img src=\'http://img.skins.be/img/flags/de.gif\' border=0></a> ");
        document.write("<a href=\'http://www.skins.be\'><img src=\'http://img.skins.be/img/flags/us_uk.gif\' border=0></a> ");
        document.write("<a href=\'http://es.skins.be\'><img src=\'http://img.skins.be/img/flags/es.gif\' border=0></a> ");
        document.write("<a href=\'http://nl.skins.be\'><img src=\'http://img.skins.be/img/flags/nl.gif\' border=0></a>"); }
       else {
        document.write("<a href=\'http://www.skins.be/" + l[x][1] + "\'>");
        document.write("<img border=0 width=160 height=120 src=\'../thumbs-@/1.jpg\'>");
        document.write("<br>" + l[x][3] + " wallpapers for " + l[x][2] + " at Skins.be</a><br><br>");
        document.write("<a href=\'http://de.skins.be/" + l[x][1] + "\'><img src=\'http://img.skins.be/img/flags/de.gif\' border=0></a> ");
        document.write("<a href=\'http://www.skins.be/" + l[x][1] + "\'><img src=\'http://img.skins.be/img/flags/us_uk.gif\' border=0></a> ");
        document.write("<a href=\'http://es.skins.be/" + l[x][1] + "\'><img src=\'http://img.skins.be/img/flags/es.gif\' border=0></a> ");
        document.write("<a href=\'http://nl.skins.be/" + l[x][1] + "\'><img src=\'http://img.skins.be/img/flags/nl.gif\' border=0></a>"); }
      }

     else {

      if (l[x][6] != undefined) {
        document.write("<a href=\'" + l[x][0] + "\'>");
        document.write("<img border=0 width=160 height=120 src=\'http://img" + l[x][2] + "lo.jpg\'>");
        document.write("<BR><B>Check out<BR>" + l[x][6] + "</b></a>");
        }
       else {
        if (l[x][4].substr(1,1) == "Z") l[x][5] = "1920x1200";
        if (l[x][4].substr(1,1) == "Y") l[x][5] = "1680x1050";
        if (l[x][4].substr(1,1) == "X") l[x][5] = "1440x900";
        if (l[x][4].substr(1,1) == "W") l[x][5] = "1280x800"; 

        if (l[x][4].substr(1,1) == " ") {
          document.write("<div id=\'norm" + x + "\' style=\'visibility: visible; position: absolute;\'>");
          l[x][1] = "";
          }
         else {
          document.write("<div id=\'norm" + x + "\' style=\'visibility: " + defnormal + "; position: absolute;\'>");
        }

        if (l[x][4].substr(0,1) == "Z") l[x][4] = "1920x1440";
        if (l[x][4].substr(0,1) == "Y") l[x][4] = "1600x1200";
        if (l[x][4].substr(0,1) == "X") l[x][4] = "1280x960";
        if (l[x][4].substr(0,1) == "W") l[x][4] = "1152x864"; 
        if (l[x][4].substr(0,1) == "V") l[x][4] = "1024x768";

        document.write("<a target='_new' href=\'http://img" + l[x][0] + "lo.jpg\'>");
        document.write("<img width=160 height=120 border=0 style=\'border-top: 1px solid gray; border-left: 1px solid gray; border-right: 1px solid black; border-bottom: 1px solid black;\' alt=\'" + l[x][4] + "\' src=\'http://img" + l[x][2] + "lo.jpg\'></a></div>");
        if (l[x][1] != "") {
          document.write("<div id=\'wide" + x + "\' style=\'visibility: " + defwide + "; position: absolute;\'>");
          document.write("<a target='_new' href=\'http://img" + l[x][1] + "lo.jpg\'>");
          document.write("<img width=160 height=100 border=0 style=\'border-top: 1px solid gray; border-left: 1px solid gray; border-right: 1px solid black; border-bottom: 1px solid black;\' alt=\'" + l[x][5] + "\' src=\'http://img" + l[x][3] + "lo.jpg\'></a></div>");
        }
        document.write("<div style=\'font-size:0;height:126px;\'></div>");
        if (l[x][1] == "") {
          document.write("<a target='_new' href=\'http://img" + l[x][0] + "lo.jpg\'>Standard</a>"); }
         else { 
          document.write("<a target='_new' href=\'http://img" + l[x][0] + "lo.jpg\' onMouseOver=\"showrelevant(\'" + x + "\', 0);\">Standard</a>");
          document.write(" | <a target='_new' href=\'http://img" + l[x][1] + "lo.jpg\' onMouseOver=\"showrelevant(\'" + x + "\', 1);\">Widescreen</a>");
        }
      }
    }

    document.write("</td></tr></table>");

    document.write("</td>");
    newrow = newrow + 1;
    if (newrow == thumbsperrow) {
      document.write("</tr>");
      newrow = 0;
    }

  }

  document.write("</table></center>");

}

function asklinks()
{
  document.write("<form id=\'frmAskPSearch\' method=\'get\'  action=\'http://uk.ask.com/web\'>");
  document.write("<input type=\'hidden\' name=\'qsrc\' value=\'999\'><input type=\'hidden\' name=\'l\' value=\'dis\'>");
  document.write("<input type=\'hidden\' name=\'siteid\' value=\'40237466\'>");
  document.write("<div style=\'height: 500px; width: 220px; overflow: hidden\'>");
  document.write("<table border=0 cellpadding=0 cellspacing=0 style=\'width: 120px; height: 500px; padding-top: 0px; table-layout: fixed; border: solid 1px black;\'>");
  document.write("<tr><td colspan=3 valign=\'bottom\' align=\'center\' style=\'margin: 5px; width: 210px; height: 100px; table-layout: fixed;\'>");
  document.write("<img width=\'107px\' height=\'110px\' alt=\'Images Search\' src=\'http://sp.uk.ask.com/en/i/asb/4/asklogorflx.jpg\'></td></tr>");
  document.write("<tr><td align=\'right\' nowrap=\'nowrap\' colspan=3 valign=\'top\' style=\'width: 210px; height: 30px; white-space: nowrap; padding-top: 0px;\'><center>");
  document.write("<input type=\'text\' id=\'q\' name=\'q\' style=\'height: 24px; width: 165px; border: solid 1px black;vertical-align:top;font-size:14px;padding:0px;\'>");
  document.write("<input class=\'ask\' id=\'btnSearch\' type=\'button\' onclick=\"return document.forms[\'frmAskPSearch\'].submit();\"");
  document.write("</center></td></tr><tr><td colspan=3 align=\'center\' style=\'font-family:Arial;font-size:10px;font-weight:bold;width:210px;\'>Popular Searches</td></tr>");
  document.write("<tr><td align=\'center\' colspan=3><div style=\'height: 300px; width: 210px; text-align: center;\'>");
  document.write("<table border=0 cellpadding=1 border=0 style=\'table-layout: fixed; font-family: Arial; font-size: 11px; height: 300px; width: 210px; overflow: hidden;\'>");


  var al = [];
  al[0] = 'British Celebrities';
  al[1] = 'Female UK Celebrities Exposed';
  al[2] = 'Adult date';
  al[3] = 'Celebrity Gossip';
  al[4] = 'Celebrity Wallpaper';
  al[5] = 'Celebrity Swimsuits';
  al[6] = 'Dating tips';
  al[7] = 'Hot Celebrities';
  al[8] = 'Top 10 Celebrity Websites';
  al[9] = 'Personal Ads';
  al[10] = 'Hot Nurses Manga';
  al[11] = 'Manga Wallpapers';
  al[12] = 'Female Manga Characters';
  al[13] = 'Fantasy Manga Drawings';
  al[14] = 'Beautiful Manga Women';
  al[15] = 'Draw Manga women';
  al[16] = 'Hot Manga';
  al[17] = 'Nurse Patient Fantasy';
  al[18] = 'Latex Nurse';
  al[19] = 'Nurse Naughty';
  al[20] = 'Hot Doctor Nurse Gallery';
  al[21] = 'Nurse Fantasy';
  al[22] = 'Fantasy Air Hostess';
  al[23] = 'Exotic Lingerie UK';
  al[24] = 'Bare Transparent Lingerie';
  al[25] = 'Very Revealing Lingerie';
  al[26] = 'PVC Lingerie';
  al[27] = 'Adult Sheer Lingerie';
  al[28] = 'Fantasy Lingerie';
  al[29] = 'Models in Transparent Lingerie';
  al[30] = 'Exotic Lingerie';
  al[31] = 'Sensual Lingerie';
  al[32] = 'Girlie Mags';
  al[33] = 'Fantasy Women';
  al[34] = 'Most Common Fantasy Women Have';
  al[35] = 'Bikini Contest';
  al[36] = 'Bikini Model';
  al[37] = 'Celebrities Legs';
  al[38] = 'Free Bikini Model Galleries';
  al[39] = 'Revealing Bikini';
  al[40] = 'Really Short Skirts';
  al[41] = 'Hot Secretaries';
  al[42] = 'Transparent Bikini';
  al[43] = 'Secretaries with Suspenders';
  al[44] = 'Hot Models';
  al[45] = 'Super Micro Bikini';
  al[46] = 'Saucy Secretary';
  al[47] = 'Swimsuit Models';
  al[48] = 'Perfect Female Legs';
  al[49] = 'Adult Sheer Lingerie';
  al[50] = 'Adult Stuff';
  al[51] = 'Adult Television';
  al[52] = 'Adult VIP';
  al[53] = 'Top 10 Ways to Become Popular';
  al[54] = 'Girls of SCI Fi';
  al[55] = 'Fantasy And SCI Fi Art Galleries';
  al[56] = 'Hollyoaks Women';
  al[57] = 'Hollyoaks Calendar';
  al[58] = 'Big Brother Girls';
  al[59] = 'Female Mud Wrestling';
  al[60] = 'Mud Wrestling Clips';
  al[61] = 'Women Mud Wrestling';
  al[62] = 'Beach Volleyball Girls';
  al[63] = 'Lower Back Tattoos';


  for (var i=0; i<10; i++)  
  {
    while (1 == 1)
    {
      r = Math.floor(Math.random() * al.length);
      if (  al[r] != '') {
        document.write("<tr><td align=\'center\'><a class=\'ask\' href=\'http://uk.ask.com/web?q=" +   al[r].replace(/ /g, '+') + "&qsrc=999&l=dis&gc=1&siteid=40237466\' title=\'British Celebrities\'>" +   al[r] + "</a></td></tr>");
          al[r] = '';
        break;
      }
    }
  }

  document.write("</table></div></td></tr><tr><td colspan=3 style=\'font-size: 10px; font-weight: bold; font-family: Arial;\'>Powered by Ask.com</td></tr></table></div></form>");
}

function srchvalidate()
{
    var t = document.forms[0][0].value;
    if (t.length < 3)
    {
        srchalert();
        return false;
    }
    return true;
}

function showsearch(showlatest)
{
  document.write("<center><table border=0 cellspacing=0 cellpadding=0 background=\'5.gif\'><tr height=42>");
  document.write("<td width=91 align=\'left\' valign=\'top\'><img src=\'5.jpg\'></td>");
  document.write("<td valign=\'top\'><FORM METHOD=POST ACTION=\'code/urlsrch.cgi\' class=\'a\' onsubmit=\'return srchvalidate()\'>");
  document.write("<font style=\'\{ font-family: verdana; font-size: 11px; color: #FFFFFF; \}\'>Find a celebrity on <i>SexyDesktop</i>:</font>");
  document.write("<INPUT NAME=\'searchstring\' SIZE=20 MAXLENGTH=30 type=\'text\' class=\'texta\'></td>");
  document.write("<td align=\'left\'><input type=\'image\' src=\'6.gif\' value=\'Search\' alt=\'Search\'></FORM></td>");
  document.write("<td width=31 background=\'6.jpg\'></td><td valign=\'top\'><FORM class=\'b\'>");
  document.write("<font style=\'\{ font-family: verdana; font-size: 11px; color: #FFFFFF; \}\'>...or, Browse through our alphabetical Babes index </font>");
  document.write("</form></td><td align=\'left\' valign=\'top\'><a href=\'index.htm\'><img src=\'7.gif\' border=0></a></td></tr></table>");
  document.write("</center>");
  document.write("<center><table border=0 cellspacing=0 cellpadding=0 background=\'upload_2.gif\'><tr height=33>");
  document.write("<td width=22 align=\'left\' valign=\'top\'><img src=\'upload_1.gif\'></td>");
  document.write("<td width=14 align=\'left\' valign=\'top\'><img src=\'upload_3.gif\'></td>");
  document.write("<td><font style=\'\{ font-family: verdana; font-size: 11px; color: #FFFFFF; \}\'> &nbsp; &nbsp; <B>NEW!</b> <a style='{ color: #FFFFFF; }' href='upload.htm'>Add links to your own wallpapers</a> <font style='{ color: #E0E0E0; }'>and help SexyDesktop to grow</font> &nbsp; &nbsp; </font>");
  document.write("<td width=14 align=\'left\' valign=\'top\'><img src=\'upload_3.gif\'></td>");
  document.write("<td width=22 align=\'left\' valign=\'top\'><img src=\'upload_4.gif\'></td>");
  document.write("</tr></table></center><br>");
}


function srchalert()
{
	var e_b = document.getElementsByTagName("body")[0];
	var e_d = document.getElementById("srchalert");
	if (e_b != null && e_d == null)
	{
		w = document.body.clientWidth;
		if (w == null) w = 800;
		w = (w - 302) / 2;
		
		e_d = document.createElement("div");
		e_d.setAttribute("id", "srchalert");
		i = 0;
		if (document.documentElement.scrollTop)
			i = document.documentElement.scrollTop;
		else
		{
			if (document.body.scrollTop)
				i = document.body.scrollTop;
			else
			{
				if (window.pageYOffset) i = window.pageYOffset;
			}
		}
		i += 300;
		e_d.style.position="absolute";
		e_d.style.top = i + "px";
		e_d.style.left = w + "px";
		e_d.style.width = "299px";
		e_d.style.borderTop="1px solid #f60";
		e_d.style.borderLeft="1px solid #f60";
		e_d.style.borderRight="2px solid #C95000";
		e_d.style.borderBottom="2px solid #AB4400";
		e_d.style.fontFamily="verdana,sans-serif";
		e_d.style.backgroundColor="#c00";
		e_d.style.fontSize = "10pt";
		e_d.style.margin = "0";
		e_d.style.padding = "0";
		
		e_r = document.createElement("div");
		e_r.style.backgroundColor="#c00";
		e_r.style.color="#fff";
		e_r.style.margin = "0";
		e_r.style.padding = "1px 0 1px 5px";
		e_r.style.width = "295px";
		e_r.appendChild(document.createTextNode("Note:"));
		e_d.appendChild(e_r);

		e_r = document.createElement("div");
		e_r.setAttribute("id", "bmalertmsg");
		e_r.style.borderTop="1px solid #ff6300";
		e_r.style.borderBottom="1px solid #ff6300";
		e_r.style.width = "299px";
		e_r.style.margin = "0";
		e_r.style.padding = "32px 0";
		e_r.style.textAlign = "center";
		e_r.style.fontSize = "11pt";
		e_r.style.backgroundColor="#ffc";
		e_r.appendChild(document.createTextNode("Your search clue must be more than two letters."));
		e_d.appendChild(e_r);
			
		e_r = document.createElement("div");
		e_r.style.backgroundColor="#c00";
		e_r.style.color="#f60";
		e_r.style.margin = "0";
		e_r.style.padding = "2px 5px 1px 0";
		e_r.style.width = "295px";
		e_r.style.textAlign = "right";
		e_r.appendChild(document.createTextNode("SexyDesktop"));
		e_d.appendChild(e_r);

		e_b.appendChild(e_d);
		srchtimer = window.setInterval('srchtimerproc()', 30);
	}
		
	srchstatus = 70;
}

function srchtimerproc()
{
	var ea = document.getElementById("srchalert");
	if (ea == null) return;
	
	if (srchstatus == 1)
	{
		var e_b = document.getElementsByTagName("body")[0];
		e_b.removeChild(ea);
		window.clearInterval(srchtimer);
		srchtimer = null;
		srchstatus = 0;
		return;
	}
	
	if (srchstatus == 2)
	{
		ea.style.opacity = '0.25';
		ea.style.filter='alpha(opacity=25)';
	}
	
	if (srchstatus == 3)
	{
		ea.style.opacity = '0.5';
		ea.style.filter='alpha(opacity=50)';
	}
	
	if (srchstatus == 4)
	{
		ea.style.opacity = '0.7';
		ea.style.filter='alpha(opacity=70)';
	}
	
	srchstatus--;
}

function QuickLinks()
{
  document.write("<BR><TABLE CLASS=\'title\'><TR><TD class=\'title\'>Quick links to our 50 top pages</TD></TR></TABLE>");
  document.write("<TABLE WIDTH=100%><TR><TD Width=20%><a href=\'lima.htm\'>Adriana Lima</a></td><TD Width=20%><a href=\'ambrosio.htm\'>Alessandra Ambrosio</a></td><TD Width=20%><a href=\'jolie.htm\'>Angelina Jolie</a></td><TD Width=20%><a href=\'asia.htm\'>Asia Argento</a></td><TD Width=20%><a href=\'reeser.htm\'>Autumn Reeser</a></td></tr>");
  document.write("<TR><TD><a href=\'avril.htm\'>Avril Lavigne</a></td><TD><a href=\'britney.htm\'>Britney Spears</a></td><TD><a href=\'charlize.htm\'>Charlize Theron</a></td><TD><a href=\'aguilera.htm\'>Christina Aguilera</a></td><TD><a href=\'ricci.htm\'>Christina Ricci</a></td></tr>");
  document.write("<TR><TD><a href=\'lloyd.htm\'>Danielle Lloyd</a></td><TD><a href=\'elisha.htm\'>Elisha Cuthbert</a></td><TD><a href=\'procter.htm\'>Emily Procter</a></td><TD><a href=\'long.htm\'>Eva Longoria Parker</a></td><TD><a href=\'mendes.htm\'>Eva Mendes</a></td></tr>");
  document.write("<TR><TD><a href=\'atkinson.htm\'>Gemma Atkinson</a></td><TD><a href=\'grace.htm\'>Grace Park</a></td><TD><a href=\'hannah.htm\'>Hannah Spearritt</a></td><TD><a href=\'hayden.htm\'>Hayden Panettiere</a></td><TD><a href=\'duff.htm\'>Hilary Duff</a></td></tr>");
  document.write("<TR><TD><a href=\'conn.htm\'>Jennifer Connelly</a></td><TD><a href=\'love.htm\'>Jennifer Love Hewitt</a></td><TD><a href=\'jeri.htm\'>Jeri Ryan</a></td><TD><a href=\'alba.htm\'>Jessica Alba</a></td><TD><a href=\'biel.htm\'>Jessica Biel</a></td></tr>");
  document.write("<TR><TD><a href=\'jessica.htm\'>Jessica Simpson</a></td><TD><a href=\'sweets.htm\'>Kari Sweets</a></td><TD><a href=\'beck.htm\'>Kate Beckinsale</a></td><TD><a href=\'hudson.htm\'>Kate Hudson</a></td><TD><a href=\'heigl.htm\'>Katherine Heigl</a></td></tr>");
  document.write("<TR><TD><a href=\'keeley.htm\'>Keeley Hazell</a></td><TD><a href=\'keira.htm\'>Keira Knightley</a></td><TD><a href=\'kelly.htm\'>Kelly Brook</a></td><TD><a href=\'monaco.htm\'>Kelly Monaco</a></td><TD><a href=\'kristen.htm\'>Kristen Bell</a></td></tr>");
  document.write("<TR><TD><a href=\'vandervoort.htm\'>Laura Vandervoort</a></td><TD><a href=\'pinder.htm\'>Lucy Pinder</a></td><TD><a href=\'mariah.htm\'>Mariah Carey</a></td><TD><a href=\'meganfox.htm\'>Megan Fox</a></td><TD><a href=\'natalie.htm\'>Natalie Portman</a></td></tr>");
  document.write("<TR><TD><a href=\'scher.htm\'>Nicole Scherzinger</a></td><TD><a href=\'olga.htm\'>Olga Kurylenko</a></td><TD><a href=\'rihanna.htm\'>Rihanna</a></td><TD><a href=\'buffy.htm\'>Sarah Michelle Gellar</a></td><TD><a href=\'scarlett.htm\'>Scarlett Johansson</a></td></tr>");
  document.write("<TR><TD><a href=\'glau.htm\'>Summer Glau</a></td><TD><a href=\'teresa.htm\'>Teresa Moore</a></td><TD><a href=\'tiffany.htm\'>Tiffany Taylor</a></td><TD><a href=\'vida.htm\'>Vida Guerra</a></td><TD><a href=\'vikki.htm\'>Vikki Blows</a></td></tr></TABLE>");
}

function OpenLink(ThisURL)
{

  r = "+/:?abc0de1fg2hi3jk4lm5no6pq7rs8tu9vwxyz";
  s = "/+?:qwe9rt8yu7io6pa5sd4fg3hj2kl1zx0cvbnm";

  NewLink = "";
  q = "";

  for (b=0; b<ThisURL.length; b++)
  {
    q = ThisURL.substr(b, 1);
    if (s.indexOf(q) != -1) {
      NewLink = NewLink + r.substr(s.indexOf(q), 1); }
     else {
      NewLink = NewLink + q; }
  }

  window.open(NewLink);
}


