function popUp(url) {
window.open(url, 'newwindow','width=700, height=570, scrollbars=yes,resizable=yes, menubar=off,directories=off,toolbar=off');
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function popUp(url,wide,high,button) {
var win = window.open('','newwindow','width=' + wide + ',height=' + high + ',left=30,top=30,scrollbars=no,resizable=yes, menubar=off,directories=off,toolbar=off');
win.document.open("text/html", "replace");
win.document.write('<HTML><HEAD><TITLE>Bathroom Heaven</TITLE></HEAD><BODY MARGINWIDTH="0" MARGINHEIGHT="0" LEFTMARGIN="10" TOPMARGIN="10"><img src=' + url + '>');
win.document.write('<br><br><div align=center><a href=javascript:window.close();><image src=/Images/button_closewindow_1.gif border=0 alt=\"Close\"></a></div>');
win.document.close();
}

function roll(img_name, img_src) {
document[img_name].src = img_src;
}

function doClear(theText) {
  if (theText.value == theText.defaultValue) {
    theText.value = "";
  }
}

function showThumbnail(which,e)
{
  thumb = document.getElementById('thumb');
  if( thumb && thumb.style.visibility == 'hidden' )
  {
    thumb.style.left       = e.pageX ? pageXOffset + e.clientX + 80 : document.body.scrollLeft + e.x + 110;
    thumb.style.top        = e.pageY ? pageYOffset + e.clientY : document.body.scrollTop  + e.y + 12;
    thumb.style.visibility = 'visible';
    thumb.innerHTML        = '<img src="' + which + '">';
  }
}
function closeThumbnail()
{
  if( thumb )
    thumb.style.visibility = 'hidden';
}

