function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function topnav() {
document.writeln("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"nav\"><tr>");
document.writeln("<td><a href=\"http://shop.mobilezfun.co.uk\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'home\',\'\',\'img/homeovr.gif\',0)\"><img src=\"img/home.gif\" name=\"home\" width=\"135\" height=\"51\" border=\"0\"></a></td>");
document.writeln("<td><a href=\"http://shop.mobilezfun.co.uk/about.asp\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'about\',\'\',\'img/aboutovr.gif\',0)\"><img src=\"img/about.gif\" name=\"about\" width=\"122\" height=\"51\" border=\"0\"></a></td>");
document.writeln("<td><a href=\"javascript:addbookmark()\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'bookmark\',\'\',\'img/bookmarkovr.gif\',0)\"><img src=\"img/bookmark.gif\" name=\"bookmark\" width=\"186\" height=\"51\" border=\"0\"></a></td>");
document.writeln("<td><a href=\"http://shop.mobilezfun.co.uk/contact.asp\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'contact\',\'\',\'img/contactovr.gif\',0)\"><img src=\"img/contact.gif\" name=\"contact\" width=\"118\" height=\"51\" border=\"0\"></a></td>");
document.writeln("<td><a href=\"http://shop.mobilezfun.co.uk/newsletter.asp\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'newsletter\',\'\',\'img/specialsovr.gif\',0)\"><img src=\"img/specials.gif\" name=\"newsletter\" width=\"201\" height=\"51\" border=\"0\"></a></td>");
document.writeln("</tr></table>");
}

function login() {
document.writeln("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"dbr-tab\" width=\"505\">");
document.writeln("<tr>");
document.writeln("<td class=\"dbr-full\" width=\"505\"></td>");
document.writeln("</tr>");
document.writeln("</table>");
document.writeln("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"dbr-tab2\" width=\"505\">");
document.writeln("<tr>");
document.writeln("<td width=\"18\">&nbsp;</td>");
document.writeln("<td width=\"487\">");
document.writeln("<b><font color='red'>User Login Required:</font></b>");
document.writeln("<form method=\"POST\" action=\"cp.asp\" class=\"pf\">");
document.writeln("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"95%\" id=\"AutoNumber1\">");
document.writeln("<tr>");
document.writeln("<tr>");
document.writeln("<td>");
document.writeln("<input type=\"text\" name=\"username\" size=\"20\" value=\"username\" class=\"sel4\" onFocus=\"clearBox(this);\"></td>");
document.writeln("<td>");
document.writeln("<input type=\"text\" name=\"password\" size=\"20\" value=\"password\" class=\"sel4\" onFocus=\"clearBox(this);\"></td>");
document.writeln("<td align=\"right\">");
document.writeln("<input type=\"submit\" value=\"login\" name=\"login\" style=\"color: #503712; font-weight: bold; font-size: 11px; border: 1px solid #503712; background-color: #FFCC00\"></td>");
document.writeln("</tr>");
document.writeln("</table>");
document.writeln("</form>");
document.writeln("</td>");
document.writeln("</tr>");
document.writeln("</table>");
document.writeln("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"dbr-tab2\" width=\"505\">");
document.writeln("<tr>");
document.writeln("<td class=\"dbr-b\" width=\"505\" colspan=\"3\"></td>");
document.writeln("</tr>");
document.writeln("</table>");
}


var bookmarkurl = "http://shop.mobilezfun.co.uk";
var bookmarktitle = "Cheap Mobile Accessories";

function addbookmark() {
if (document.all) window.external.AddFavorite(bookmarkurl, bookmarktitle);
}
function clearBox(box) {
 if(box.value==box.defaultValue) {
   box.value = "";
  }
 }