var m1 = "mai";
var m2 = "lto:";
var m3 = "\u0040weiserware\u002Ecom";

var outOfOffice = false;
var oooFrom = "January 13";
var oooTo = "January 28";

var OpenWin = null;

function send(name) {
  locationstring = m1 + m2 + name + m3;
  window.location.replace(locationstring);
}

function MM_findObj(n, d) { //v4.0
  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 && document.getElementById) x=document.getElementById(n); return x;
}

function MM_nbGroup(event, grpName) { //v3.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    if ((nbArr = document[grpName]) != null)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = args[i+1];
      nbArr[nbArr.length] = img;
  } }
}

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_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 expand(s){
  var td = s;
  var d = td.getElementsByTagName("div").item(0);

  td.className = "menuShow";
  d.className = "menuShow";
}

function collapse(s){
  var td = s;
  var d = s.getElementsByTagName("div").item(0);

  td.className = "menuHide";
  d.className = "menuHide";
}

function writeTranslateWidget() {
  document.write('   Translate into:');
  document.write('     <select name="transLang" onChange="translate(this.options[this.selectedIndex].value)">');
  document.write('  	    <option value="" selected>- Select a language -</option>');
  document.write('        <option value="ar">Arabic</option><option value="bg">Bulgarian</option><option value="zh-CN">Chinese</option><option value="hr">Croatian</option><option value="cs">Czech</option><option value="da">Danish</option><option value="nl">Dutch</option><option value="en">English</option><option value="fi">Finnish</option><option value="fr">French</option><option value="de">German</option><option value="el">Greek</option><option value="hi">Hindi</option><option value="it">Italian</option><option value="ja">Japanese</option><option value="ko">Korean</option><option value="no">Norwegian</option><option value="pl">Polish</option><option value="pt">Portuguese</option><option value="ro">Romanian</option><option value="ru">Russian</option><option value="es">Spanish</option><option value="sv">Swedish</option>');
  document.write('     </select>');
  document.write('     using <a href="http://www.google.com/" target="_blank">Google</a>.');
 }

function writeWeiserWareFooter(menu) {
	document.write('	<tr>');
  document.write('    <td align="center"> <img src="common/blue.gif" width="100%" height="4"></td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td align="center">');
	if (menu=="Home"){
		document.write('		Home |')
	}else{
	 document.write('			<a target="_top" href="index.html">Home</a> |')};
	if (menu=="Screensavers"){
		document.write('		Screensavers |')
	}else{
	 document.write('			<a target="_top" href="screensavers.html">Screensavers</a> |')};
	if (menu=="Posters"){
		document.write('		Posters |')
	}else{
	 document.write('			<a target="_top" href="prints/index.html">Posters</a> |')};
	if (menu=="Help"){
		document.write('		Help |')
	}else{
	 document.write('			<a target="_top" href="help.html">Help</a> |')};
	if (menu=="AboutUs"){
		document.write('		About Us')
	}else{
	 document.write('			<a target="_top" href="aboutus.html">About Us</a>')};
	document.write('		</td>');
	document.write('</tr>');
	document.write('	<tr>');
	document.write('		<td align="center">');
	document.write('			<table width="97%">');
	document.write('				<tr>');
	document.write('					<td width="100">&nbsp;</td>');
	document.write('					<td align="center"><a href="#" onclick="send(\'info\')">Contact</a> | ');
	if (menu=="PrivacyPolicy"){
		document.write('		Privacy Policy |')
	}else{
	 document.write('			<a target="_top" href="privacy.html">Privacy Policy</a> |')};
	if (menu=="Refunds"){
		document.write('		Refund Policy')
	}else{
	document.write('			<a target="_top" href="refund.html">Refund Policy</a>')};
	document.write('					</td>');
	document.write('					<td width="100" align="right"></td>');
	document.write('				</tr>');
	document.write('			</table>');
	document.write('		</td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td align="center">');
	document.write('			<table width="97%">');
	document.write('				<tr>');
	document.write('					<td width="100">&nbsp;</td>');
	document.write('					<td align="center"><font size="-2">');
	document.write('						Copyright &copy; 2001-2009&nbsp;');
	if (menu=="Home"){
		document.write('		WeiserWare')
	}else{
        document.write('<a href="index.html">WeiserWare</a></td>');
    }
	document.write('					</font><td width="100" align="right"><a href="#top"><font size="-2">top of page</font></a></td>');
	document.write('				</tr>');
	document.write('			</table>');
	document.write('		</td>');
	document.write('	</tr>');
	document.write(' <tr align="center">');
  document.write('   <td>');
  writeTranslateWidget();
  document.write('   </td>');
  document.write('  </tr>');
	}


function writeScreenSaverFooter(screensaver,menu) {
	document.write('	<tr>');
    document.write('    <td colspan="2" align="center"> <img src="../common/blue.gif" width="97%" height="4"></td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td colspan="2" align="center">');
	if (menu=="Home"){
		document.write('		Home |')
	}else{
	 document.write('			<a target="_top" href="index.html">Home</a> |')};
	if (menu=="Purchase"){
		document.write('		Purchase |')
	}else{
	 document.write('			<a target="_top" href="purchase.html">Purchase</a> |')};
	if (menu=="Comments"){
		document.write('		Comments |')
	}else{
 		document.write('			<a target="_top" href="comments.html">Comments</a> |')};
	if (menu=="Upgrade"){
		document.write('		Upgrade |')
	}else{
	 document.write('			<a target="_top" href="upgrade.html">Upgrade</a> |')};
	if (menu=="Help"){
		document.write('		Help |')
	}else{
	 document.write('			<a target="_top" href="help.html">Help</a> |')};
	if (menu=="Screen Shots"){
		document.write('		Screen Shots |')
	}else{
		if (screensaver!="Screen Saver Manager"){
	 		document.write('			<a target="_top" href="screenshots.html">Screen Shots</a> |')};
		}
	if (menu=="More Screensavers"){
		document.write('More Screensavers |')
	}else{
	 document.write('			<a target="_top" href="../index.html">More Screensavers</a> |')};
	if (menu=="Posters"){
		document.write('Posters ')
	}else{
	document.write('			<a target="_top" href="../prints/index.html">Posters</a> ')};
	document.write('		</td>');
	document.write('    </tr>');
	
	document.write('	<tr>');
	document.write('		<td colspan="2" align="center">');
	document.write('			<table width="97%">');
	document.write('				<tr>');
	document.write('					<td width="100">&nbsp;</td>');
	document.write('					<td align="center"><a href="#" onclick="send(\'info\')">Contact</a> |');
	if (menu=="PrivacyPolicy"){
		document.write('		            Privacy Policy |')
	}else{
	    document.write('			        <a href="privacy.html">Privacy Policy</a> |')};
	if (menu=="Refunds"){
		document.write('		            Refund Policy')
	}else{
	document.write('			            <a href="refund.html">Refund Policy</a>')};
	document.write('					</td>');
	document.write('					<td width="100" align="right"></td>');
	document.write('				</tr>');
	document.write('			</table>');
	document.write('		</td>');
	document.write('	</tr>');
	
	document.write('	<tr>');
	document.write('		<td colspan="2" align="center">');
	document.write('			<table width="97%">');
	document.write('				<tr>');
	document.write('					<td width="100">&nbsp;</td>');
	document.write('					<td align="center"><font size="-2">');
	document.write('						Copyright &copy; ');
	switch (screensaver){
	case "KaleidoMorph":
		document.write('2001 -');
		break;
	case "3D Alien Aquarium":
		document.write('2002 -');
		break;
	case "Electric Art":
		document.write('2003 -');
		break;
	case "PolyMorph3D":
		document.write('2003 -');
		break;
	case "AuraScope":
		document.write('2004 -');
		break;
	case "Morphosis":
		document.write('2006 -');
		break;
	case "Screen Saver Manager":
		document.write('2005 -');
		break;
	default:
		document.write('2006 -');
		break;
	}
	document.write(' 2010						<a href="../index.html">WeiserWare</a></font>');
	document.write('					</td>');
	document.write('					<td width="100" align="right"><a href="#top"><font size="-2">top of page</font></a></td>');
	document.write('				</tr>');
	document.write('			</table>');
	document.write('		</td>');
	document.write('	</tr>');
	document.write(' <tr align="center"><td colspan="2">');
  writeTranslateWidget();
  document.write('  </td></tr>');
}


function writeWeiserWareMenu(menu) {
  document.write('<tr>');
  document.write('  <td>');
  document.write('    <table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">');
  document.write('      <tr>');
  document.write('        <td><img src="common/blue.gif" width="100%" height="4"></td>');
  document.write('      </tr>');
  document.write('      <tr>');
  document.write('        <td>');
  document.write('          <table border="0" cellpadding="0" cellspacing="0">');
  document.write('            <tr>');
  document.write('              <td>');
  document.write('          	    <table class="menu" border="0" cellpadding="0" cellspacing="0">');
  document.write('      			      <tr><td>');
	document.write('      			        <a target="_top" href="index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Home\',\'common/Home_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Home\',\'common/Home_f2.gif\',\'common/Home_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('											<img title="The main WeiserWare page" name="Home" border="0"'); if (menu == "home") document.write(' src="common/Home_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Home\',\'common/Home.gif\',1)"'); else document.write(' src="common/Home.gif" onLoad=""'); document.write('></a></td></tr>');
	document.write('								</table>');
  document.write('              </td>');
 	document.write('							<td onMouseOver="expand(this)" onMouseOut="collapse(this)">');	
  document.write('          	    <table class="menu" border="0" cellpadding="0" cellspacing="0">');
  document.write('      			      <tr><td>');
	document.write('      			        <a target="_top" href="screensavers.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Screensavers\',\'common/ScreenSavers_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Screensavers\',\'common/ScreenSavers_f2.gif\',\'common/ScreenSavers_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('											<img title="WeiserWare screensavers" name="Screensavers" border="0"'); if (menu == "ScreenSavers") document.write(' src="common/ScreenSavers_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Screensavers\',\'common/ScreenSavers.gif\',1)"'); else document.write(' src="common/ScreenSavers.gif" onLoad=""'); document.write('></a></td></tr>');
	document.write('								</table>');
	document.write('								<div class="menuHide">');
  document.write('          		    <table class="menu" border="0" cellpadding="0" cellspacing="0">');
  document.write('      			  	    <tr><td class="menuHide">');
	document.write('      			        <a target="_top" href="3dalienaquarium/index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'3DAlienAquarium\',\'common/3DAlienAquarium_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'3DAlienAquarium\',\'common/3DAlienAquarium_f2.gif\',\'common/3DAlienAquarium_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('											<img title="3DAlienAquarium screensaver" name="3DAlienAquarium" border="0" src="common/3DAlienAquarium.gif" onLoad=""></a></td></tr>');
  document.write('      			  	    <tr><td class="menuHide">');
	document.write('      			        <a target="_top" href="kaleidomorph/index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Kaleidomorph\',\'common/Kaleidomorph_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Kaleidomorph\',\'common/Kaleidomorph_f2.gif\',\'common/Kaleidomorph_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('											<img title="Kaleidomorph screensaver" name="Kaleidomorph" border="0" src="common/Kaleidomorph.gif" onLoad=""></a></td></tr>');
  document.write('      			  	    <tr><td class="menuHide">');
	document.write('      			        <a target="_top" href="aurascope/index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'AuraScope\',\'common/Aurascope_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'AuraScope\',\'common/Aurascope_f2.gif\',\'common/Aurascope_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('											<img title="AurasSope screensaver" name="AuraScope" border="0" src="common/Aurascope.gif" onLoad=""></a></td></tr>');
  document.write('      			  	    <tr><td class="menuHide">');
	document.write('      			        <a target="_top" href="polymorph3d/index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'PolyMorph3D\',\'common/PolyMorph3D_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'PolyMorph3D\',\'common/PolyMorph3D_f2.gif\',\'common/PolyMorph3D.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('											<img title="PolyMorph3D screensaver" name="PolyMorph3D" border="0" src="common/PolyMorph3D.gif" onLoad=""></a></td></tr>');
  document.write('      			  	    <tr><td class="menuHide">');
	document.write('      			        <a target="_top" href="electricart/index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'ElectricArt\',\'common/ElectricArt_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'ElectricArt\',\'common/ElectricArt_f2.gif\',\'common/ElectricArt.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('											<img title="Electric Art screensaver" name="ElectricArt" border="0" src="common/ElectricArt.gif" onLoad=""></a></td></tr>');
  document.write('      			  	    <tr><td class="menuHide">');
	document.write('      			        <a target="_top" href="morphosis/index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Morphosis\',\'common/Morphosis_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Morphosis\',\'common/Morphosis_f2.gif\',\'common/Morphosis.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('											<img title="Morphosis screensaver" name="Morphosis" border="0" src="common/Morphosis.gif" onLoad=""></a></td></tr>');
  document.write('      			  	    <tr><td class="menuHide">');
	document.write('      			        <a target="_top" href="ssmanager/index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'ScreenSaverManager\',\'common/ScreenSaverManager_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'ScreenSaverManager\',\'common/ScreenSaverManager_f2.gif\',\'common/ScreenSaverManager.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('											<img title="Screen Saver Manager" name="ScreenSaverManager" border="0" src="common/ScreenSaverManager.gif" onLoad=""></a></td></tr>');
	document.write('									</table>');
	document.write('								</div>');
  document.write('              </td>');
  document.write('              <td>');
  document.write('          	    <table class="menu" border="0" cellpadding="0" cellspacing="0">');
  document.write('      			      <tr><td>');
	document.write('      			        <a target="_top" href="prints/index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Fractals\',\'common/Fractals_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Fractals\',\'common/Fractals_f2.gif\',\'common/Fractals_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('											<img title="Abstrast art prints and posters" name="Fractals" border="0" src="common/Fractals.gif" onLoad=""></a></td></tr>');
	document.write('								</table>');
  document.write('              </td>');
 	document.write('	    <td onMouseOver="expand(this)" onMouseOut="collapse(this)">');	
  document.write('          	    <table class="menu" border="0" cellpadding="0" cellspacing="0">');
  document.write('      			      <tr><td>');
	document.write('      			        <a target="_top" href="help.html"  onClick="MM_nbGroup(\'down\',\'group1\',\'Help\',\'common/Help_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Help\',\'common/Help_f2.gif\',\'common/Help_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('											<img title="Help on WeiserWare policies and practices" name="Help" border="0"'); if (menu == "Help") document.write(' src="common/Help_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Help\',\'common/Help.gif\',1)"'); else document.write(' src="common/Help.gif" onLoad=""'); document.write('></a></td></tr>');
	document.write('								</table>');
	document.write('								<div class="menuHide">');
  document.write('          		    <table class="menu" border="0" cellpadding="0" cellspacing="0">');
  document.write('      			  	    <tr><td class="menuHide">');
	document.write('      			        <a target="_top" href="refund.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Refunds\',\'common/Refunds_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Refunds\',\'common/Refunds_f2.gif\',\'common/Refunds.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('											<img title="Refunds" name="Refunds" border="0" src="common/Refunds.gif" onLoad=""></a></td></tr>');
  document.write('      			  	    <tr><td class="menuHide">');
	document.write('      			        <a target="_top" href="privacy.html" onClick="MM_nbGroup(\'down\',\'group1\',\'YourPrivacy\',\'common/YourPrivacy_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'YourPrivacy\',\'common/YourPrivacy_f2.gif\',\'common/YourPrivacy_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('											<img title="Your Privacy" name="YourPrivacy" border="0" src="common/YourPrivacy.gif" onLoad=""></a></td></tr>');
  document.write('      			  	    <tr><td class="menuHide">');
	document.write('      			        <a target="_top" href="#" onClick="MM_nbGroup(\'down\',\'group1\',\'ContactUs\',\'common/ContactUs_f3.gif\',1);send(\'info\')" onMouseOver="MM_nbGroup(\'over\',\'ContactUs\',\'common/ContactUs_f2.gif\',\'common/ContactUs.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');	document.write('											<img title="Contact Us" name="ContactUs" border="0" src="common/ContactUs.gif" onLoad=""></a></td></tr>');
	document.write('									</table>');
	document.write('								</div>');
  document.write('              </td>');	
  document.write('              <td>');
  document.write('          	    <table class="menu" border="0" cellpadding="0" cellspacing="0">');
  document.write('      			      <tr><td>');
	document.write('      			        <a target="_top" href="aboutus.html" onClick="MM_nbGroup(\'down\',\'group1\',\'AboutUs\',\'common/AboutUs_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'AboutUs\',\'common/AboutUs_f2.gif\',\'common/AboutUs_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('											<img title="About WeiserWare" name="AboutUs" border="0"'); if (menu == "AboutUs") document.write(' src="common/AboutUs_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'AboutUs\',\'common/AboutUs.gif\',1)"'); else document.write(' src="common/AboutUs.gif" onLoad=""'); document.write('></a></td></tr>');
	document.write('								</table>');
  document.write('              </td></tr>');
  document.write('         </table>');
  document.write('        </td>');
  document.write('      </tr>');
  document.write('      <tr>');
  document.write('        <td><img src="common/blue.gif" width="100%" height="4"></td>');
  document.write('      </tr>');
if (outOfOffice) {
  document.write('      <tr>');
  document.write('      <td><table><tr>');
  document.write('        <td><img src="common/exclamation.jpg"></td>');
  document.write('        <td><font color="red"><b>The WeiserWare office will be closed from '+oooFrom+' to '+oooTo+'.<br>Downloads, sales and deliveries will continue to be handled automatically during this time.  Other emails will be responded to as soon as possible after '+oooTo+'.</b></font></td>');
  document.write('        <td><img src="common/exclamation.jpg"></td>');
  document.write('      </tr></table><td>');
  document.write('      </tr>');
  document.write('      <tr>');
  document.write('        <td><img src="common/blue.gif" width="97%" height="4"></td>');
  document.write('      </tr>');
}
  document.write('    </table>');
  document.write('  </td>');
  document.write('</tr>');
}


function writeNavMenu(product, menu) {
  <!--SetRef();-->
  document.write('<tr>');
  document.write('  <td colspan="2" align="center">');
  document.write('    <table border="0" cellpadding="0" cellspacing="0" width="97%" align="center">');
  document.write('      <tr>');
  document.write('        <td><img src="../common/blue.gif" width="100%" height="4"></td>');
  document.write('      </tr>');
  document.write('      <tr>');
  document.write('        <td>');
  document.write('          <table border="0" cellpadding="0" cellspacing="0">');
  document.write('            <tr>');
  document.write('              <td><a target="_top" href="index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Home\',\'../common/Home_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Home\',\'../common/Home_f2.gif\',\'../common/Home_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('								<img title="The main '); document.write(product); document.write(' page" name="Home" border="0"'); if (menu == "home") document.write(' src="../common/Home_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Home\',\'../common/Home.gif\',1)"'); else document.write(' src="../common/Home.gif" onLoad=""'); document.write('></a></td>');
  document.write('              <td><a target="_top" href="purchase.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Purchase\',\'../common/Purchase_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Purchase\',\'../common/Purchase_f2.gif\',\'../common/Purchase_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('								<img title="Buy '); document.write(product); document.write('" name="Purchase" border="0"'); if (menu == "purchase") document.write(' src="../common/Purchase_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Purchase\',\'../common/Purchase.gif\',1)"'); else document.write(' src="../common/Purchase.gif" onLoad=""'); document.write('></a></td>');
	document.write('              <td><a target="_top" href="comments.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Comments\',\'../common/Comments_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Comments\',\'../common/Comments_f2.gif\',\'../common/Comments_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('								<img title="Comments from customers" name="Comments" border="0"'); if (menu == "comments") document.write(' src="../common/Comments_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Comments\',\'../common/Comments.gif\',1)"'); else document.write(' src="../common/Comments.gif" onLoad=""'); document.write('></a></td>');
	document.write('              <td><a target="_top" href="upgrade.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Upgrade\',\'../common/Upgrade_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Upgrade\',\'../common/Upgrade_f2.gif\',\'../common/Upgrade_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('								<img title="Get the latest version" name="Upgrade" border="0"'); if (menu == "upgrade") document.write(' src="../common/Upgrade_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Upgrade\',\'../common/Upgrade.gif\',1)"'); else document.write(' src="../common/Upgrade.gif" onLoad=""'); document.write('></a></td>');
  document.write('              <td><a target="_top" href="help.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Help\',\'../common/Help_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Help\',\'../common/Help_f2.gif\',\'../common/Help_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('								<img title="Get help" name="Help" border="0"'); if (menu == "help") document.write(' src="../common/Help_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Help\',\'../common/Help.gif\',1)"'); else document.write(' src="../common/Help.gif" onLoad=""'); document.write('></a></td>');
	if (product!="Screen Saver Manager"){
		document.write('              <td><a target="_top" href="screenshots.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Screen Shots\',\'../common/Screenshots_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Screen Shots\',\'../common/Screenshots_f2.gif\',\'../common/Screenshots_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
		document.write('								<img title="Screen Shots" name="Screen Shots" border="0"'); if (menu == "screenshots") document.write(' src="../common/Screenshots_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Screen Shots\',\'../common/Screenshots.gif\',1)"'); else document.write(' src="../common/Screenshots.gif" onLoad=""'); document.write('></a></td>');
	}
  document.write('              <td><a target="_top" href="../index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'More Screensavers\',\'../common/MoreScreensavers_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'More Screensavers\',\'../common/MoreScreensavers_f2.gif\',\'../common/MoreScreensavers_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('								<img title="See more WeiserWare screensavers" name="More Screensavers" border="0"'); if (menu == "more") document.write(' src="../common/MoreScreensavers_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'More Screensavers\',\'../common/MoreScreensavers.gif\',1)"'); else document.write(' src="../common/MoreScreensavers.gif" onLoad=""'); document.write('></a></td>');
  document.write('              <td><a target="_top" href="../prints/index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Fractals\',\'../common/Fractals_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Fractals\',\'../common/Fractals_f2.gif\',\'../common/Fractals_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('								<img title="Abstract prints" name="Fractals" border="0"'); if (menu == "more") document.write(' src="../common/Fractals_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Fractals\',\'../common/Fractals.gif\',1)"'); else document.write(' src="../common/Fractals.gif" onLoad=""'); document.write('></a></td>');
  document.write('           </tr>');
  document.write('         </table>');
  document.write('        </td>');
  document.write('      </tr>');
  document.write('      <tr>');
  document.write('        <td><img src="../common/blue.gif" width="100%" height="4"></td>');
  document.write('      </tr>');
if (outOfOffice) {
  document.write('      <tr>');
  document.write('      <td><table><tr>');
  document.write('        <td><img src="../common/exclamation.jpg"></td>');
  document.write('        <td><font color="red"><b>The WeiserWare office will be closed from '+oooFrom+' to '+oooTo+'.<br>Downloads, sales and deliveries will continue to be handled automatically during this time.  Other emails will be responded to as soon as possible after '+oooTo+'.</b></font></td>');
  document.write('        <td><img src="../common/exclamation.jpg"></td>');
  document.write('      </tr></table><td>');
  document.write('      </tr>');
  document.write('      <tr>');
  document.write('        <td><img src="../common/blue.gif" width="97%" height="4"></td>');
  document.write('      </tr>');
}
  document.write('    </table>');
  document.write('  </td>');
  document.write('</tr>');
}

function writePrintsFooter(menu) {
	document.write('	<tr>');
  document.write('    <td colspan="2" align="center"> <img src="../common/blue.gif" width="97%" height="4"></td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td colspan="2" align="center">');
	if (menu=="Home"){
		document.write('		Posters |')
	}else{
	 document.write('			<a target="_top" href="index.html">Posters</a> |')};
	/*
	if (menu=="Help"){
		document.write('		Help |')
	}else{
	 document.write('			<a target="_top" href="help.html">Help</a> |')};
	 */
	document.write('			<a target="_top" href="../index.html">Screen Savers</a>')
	document.write('		</td>');
	document.write('</tr>');
	document.write('	<tr>');
	document.write('		<td colspan="2" align="center">');
	document.write('			<table width="97%">');
	document.write('				<tr>');
	document.write('					<td width="100">&nbsp;</td>');
	document.write('					<td align="center"><font size="-2">');
	document.write('						Copyright &copy; 2005 - 2009&nbsp;&nbsp;');
  document.write('						<a href="../index.html">WeiserWare</a> |');
	document.write('						<a href="#" onclick="send(\'info\')">Contact</a>');
	document.write('					</font></td>');
	document.write('					<td width="100" align="right"><a href="#top"><font size="-2">top of page</font></a></td>');
	document.write('				</tr>');
	document.write('			</table>');
	document.write('		</td>');
	document.write('	</tr>');
	document.write(' <tr align="center">');
  document.write('   <td colspan="2" >');
  writeTranslateWidget();
  document.write('     </td>');
  document.write('  </tr>');
}

function writePrintsMenu(menu) {
  document.write('<tr>');
  document.write('  <td colspan="2" >');
//  document.write('    <table border="0" cellpadding="0" cellspacing="0" width="700" align="center">');
  document.write('    <table border="0" cellpadding="0" cellspacing="0" width="97%" align="center">');
  document.write('      <tr>');
//  document.write('        <td><img src="../common/blue.gif" width="700" height="4"></td>');
  document.write('        <td><img src="../common/blue.gif" width="100%" height="4"></td>');
  document.write('      </tr>');
  document.write('      <tr>');
  document.write('        <td>');
  document.write('          <table border="0" cellpadding="0" cellspacing="0">');
  document.write('            <tr>');
  document.write('              <td><a target="_top" href="index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Fractals\',\'../common/Fractals_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Fractals\',\'../common/Fractals_f2.gif\',\'../common/Fractals_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('								<img title="The fractal gallery" name="Home" border="0"'); if (menu == "home") document.write(' src="../common/Fractals_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Home\',\'../common/Fractals.gif\',1)"'); else document.write(' src="../common/Fractals.gif" onLoad=""'); document.write('></a></td>');
  //document.write('              <td><a target="_top" href="help.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Help\',\'../common/Help_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Help\',\'../common/Help_f2.gif\',\'../common/Help_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
 // document.write('								<img title="Get help" name="Help" border="0"'); if (menu == "help") document.write(' src="../common/Help_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Help\',\'../common/Help.gif\',1)"'); else document.write(' src="../common/Help.gif" onLoad=""'); document.write('></a></td>');
  document.write('              <td><a target="_top" href="../index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Screensavers\',\'../common/ScreenSavers_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Screensavers\',\'../common/ScreenSavers_f2.gif\',\'../common/ScreenSavers_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('								<img title="WeiserWare screensavers" name="Screensavers" border="0"'); if (menu == "screensavers") document.write(' src="../common/ScreenSavers_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Screensavers\',\'../common/ScreenSavers.gif\',1)"'); else document.write(' src="../common/ScreenSavers.gif" onLoad=""'); document.write('></a></td>');
  document.write('           </tr>');
  document.write('         </table>');
  document.write('        </td>');
  document.write('      </tr>');
  document.write('      <tr>');
//  document.write('        <td><img src="../common/blue.gif" width="700" height="4"></td>');
  document.write('        <td><img src="../common/blue.gif" width="100%" height="4"></td>');
  document.write('      </tr>');
  document.write('    </table>');
  document.write('  </td>');
  document.write('</tr>');
}

function writeDVDMenu(product,menu) {
  document.write('<tr>');
  document.write('  <td colspan="2">');
  document.write('    <table border="0" cellpadding="0" cellspacing="0" width="97%" align="center">');
  document.write('      <tr>');
  document.write('        <td><img src="../common/blue.gif" width="97%" height="4"></td>');
  document.write('      </tr>');
  document.write('      <tr>');
  document.write('        <td>');
  document.write('          <table border="0" cellpadding="0" cellspacing="0">');
  document.write('            <tr>');
  document.write('              <td><a target="_top" href="relaxation_dvd.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Home\',\'../common/Home_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Home\',\'../common/Home_f2.gif\',\'../common/Home_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('								<img title="Relaxation DVD" name="Home" border="0"'); if (menu == "home") document.write(' src="../common/Home_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Home\',\'../common/Home.gif\',1)"'); else document.write(' src="../common/Home.gif" onLoad=""'); document.write('></a></td>');
  document.write('              <td><a target="_top" href="purchase_dvd.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Purchase\',\'../common/Purchase_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Purchase\',\'../common/Purchase_f2.gif\',\'../common/Purchase_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('								<img title="Purchase the DVD" name="Purchase" border="0"'); if (menu == "purchase") document.write(' src="../common/Purchase_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Purchase\',\'../common/Purchase.gif\',1)"'); else document.write(' src="../common/Purchase.gif" onLoad=""'); document.write('></a></td>');
  document.write('              <td><a target="_top" href="../index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Screensavers\',\'../common/ScreenSavers_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Screensavers\',\'../common/ScreenSavers_f2.gif\',\'../common/ScreenSavers_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('								<img title="WeiserWare screensavers" name="Screensavers" border="0"'); if (menu == "screensavers") document.write(' src="../common/ScreenSavers_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Screensavers\',\'../common/ScreenSavers.gif\',1)"'); else document.write(' src="../common/ScreenSavers.gif" onLoad=""'); document.write('></a></td>');
  document.write('              <td><a target="_top" href="../prints/index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'Fractals\',\'../common/Fractals_f3.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'Fractals\',\'../common/Fractals_f2.gif\',\'../common/Fractals_f4.gif\',1)" onMouseOut="MM_nbGroup(\'out\')">');
	document.write('								<img title="Fractal prints" name="Fractals" border="0"'); if (menu == "fractals") document.write(' src="../common/Fractals_f3.gif" onLoad="MM_nbGroup(\'init\',\'group1\',\'Fractals\',\'../common/Fractals.gif\',1)"'); else document.write(' src="../common/Fractals.gif" onLoad=""'); document.write('></a></td>');
  document.write('           </tr>');
  document.write('         </table>');
  document.write('        </td>');
  document.write('      </tr>');
  document.write('      <tr>');
  document.write('        <td><img src="../common/blue.gif" width="97%" height="4"></td>');
  document.write('      </tr>');
  document.write('    </table>');
  document.write('  </td>');
  document.write('</tr>');
}

function writeDVDFooter(product,menu) {
	document.write('	<tr>');
  document.write('    <td colspan="2" align="center"> <img src="../common/blue.gif" width="97%" height="4"></td>');
	document.write('	</tr>');
	document.write('	<tr>');
	document.write('		<td colspan="2" align="center">');
	if (menu=="Home"){
		document.write('		Home |')
	}else{
	 document.write('			<a target="_top" href="index.html">Home</a> |')};
	if (menu=="Purchase"){
		document.write('		Purchase |')
	}else{
	 document.write('			<a target="_top" href="purchase_dvd.html">Purchase</a> |')};
	document.write('			<a target="_top" href="../index.html">Screensavers</a> |')
	document.write('			<a target="_top" href="../prints/index.html">Posters</a>')
	document.write('		</td>');
	document.write('</tr>');
	document.write('	<tr>');
	document.write('		<td colspan="2" align="center">');
	document.write('			<table width="97%">');
	document.write('				<tr>');
	document.write('					<td width="100">&nbsp;</td>');
	document.write('					<td align="center"><font size="-2">');
	document.write('						Copyright &copy; 2006&nbsp;&nbsp;');
  document.write('						<a href="../index.html">WeiserWare</a> |');
	document.write('						<a href="#" onclick="send(\'info\')">Contact</a>');
	document.write('					</font></td>');
	document.write('					<td width="100" align="right"><a href="#top"><font size="-2">top of page</font></a></td>');
	document.write('				</tr>');
	document.write('			</table>');
	document.write('		</td>');
	document.write('	</tr>');
	document.write(' <tr align="center">');
  document.write('   <td colspan="2" >');
  writeTranslateWidget();
  document.write('     </td>');
  document.write('  </tr>');
}


/*
function GetCookie(name) {
    var dc = document.cookie;
    var prefix = name + "=";
    var begin = dc.indexOf("; " + prefix);
    if (begin == -1) {
        begin = dc.indexOf(prefix);
        if (begin != 0) return "";
    } else {
        begin += 2;
    }
    var end = document.cookie.indexOf(";", begin);
    if (end == -1) {
        end = dc.length;
    }
    return unescape(dc.substring(begin + prefix.length, end));
}
function SetRef() {
		var s = new String(location.search);
		if (s != null && s != "") {
			document.cookie = "ds=" + s.substring(1);
		}
}
*/

// product = 3828kmrph etc.
// method = 0 (download), 1 (CD)
function Buy(product, method, purchKey) {	
	document.order.p.value = product;
	document.order.d.value = method;
	document.order.t.value = /*GetCookie("ds") +*/  "contact=" + document.order.contact[0].checked
	                         + (purchKey ? " >PURCH_KEY=" + purchKey + "<" : "");
	document.order.submit();
}

function ShowPopup(image,w,h,sb) {
  // Default popup window width and height if not specified.
  if (!w) w = 420;
  if (!h) h = 345;
  if (!sb) sb = "no";
  var OpenWin = window.open("../common/empty.html", "ScreenShot", "width="+w+",height="+h+",toolbar=no,menubar=no,location=no,scrollbars="+sb+",resizable=yes");
  tmp = OpenWin.document;
  tmp.write('<html>');
  tmp.write('<head>');
  tmp.write('<link rel="stylesheet" href="../common/style.css" type="text/css">');
  tmp.write('<!--[if gte ie 5.5000]>');
  tmp.write('<link rel="stylesheet" href="../common/ie.css" type="text/css">');
  tmp.write('<![endif]-->');
  tmp.write('</head>');
  tmp.write('<body>');
  tmp.write('<div class="alpha-shadow"><div><img src="' + image + '" border="0" onClick="javascript:window.close();"></div></div>');
  tmp.write('<br>');
  tmp.write('<center><i>Click the image to close the window.</i></center>');
  tmp.write('</body>');
  tmp.write('</html>');
  tmp.close();
  if (window.focus) { OpenWin.focus(); }
}

function ShowPrintPopup(image,w,h) {
  ww = w + 30;
  //if (ww < 460) ww = 460;
  hh = h + 40;
  if (OpenWin != null) OpenWin.close();
  OpenWin = window.open("../common/empty.html", "ScreenShot", "width="+ww+",height="+hh+",toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes");
  tmp = OpenWin.document;
  tmp.write('<html>');
  tmp.write('<head>');
  tmp.write('<link rel="stylesheet" href="../common/style.css" type="text/css">');
  tmp.write('<!--[if gte ie 5.5000]>');
  tmp.write('<link rel="stylesheet" href="../common/ie.css" type="text/css">');
  tmp.write('<![endif]-->');
  tmp.write('</head>');
  tmp.write('<body>');
  tmp.write('<table align="center"><tr><td>');
  tmp.write('<div class="alpha-shadow"><div><img src="' + image + '" border="0" onClick="javascript:window.close();"></div></div>');
  tmp.write('</td></tr><tr><td>');
  tmp.write('</td></tr></table>');
  tmp.write('</body>');
  tmp.write('</html>');
  tmp.close();
  if (window.focus) { OpenWin.focus(); }
}

function ShowPage(url,title,w,h,sb) {
  // Default popup window width and height if not specified.
  if (!w) w = 420;
  if (!h) h = 345;
  if (!sb) sb = "no";
  var OpenWin = window.open(url, title, "width="+w+",height="+h+",toolbar=no,menubar=no,location=no,scrollbars="+sb+",resizable=yes");
  if (window.focus) { OpenWin.focus(); }
}

function writeThumbnail(image,w,h,fileExt) {
  // Default popup window width and height if not specified.
  if (!w) w = 420;
  if (!h) h = 345;
  if (!fileExt) fileExt = 'jpg';
//  document.write('<td><div class="alpha-shadow"><div><a href="javascript:ShowPopup(\'shots/' + image + '.' + fileExt + '\','+w+','+h+');"><img src="shots/tn' + image + '.' + fileExt + '" width="100" height="75" border="0"></a></div></div></td>');
  document.write('<span style="display: inline-block;"><div class="alpha-shadow"><div><a href="javascript:ShowPopup(\'shots/' + image + '.' + fileExt + '\','+w+','+h+');"><img src="shots/tn' + image + '.' + fileExt + '" width="100" height="75" border="0"></a></div></div></span>');
}

function writeGalleryThumb (image, w, h, bigw, bigh, prodID) {
	document.write('<li><div class="border"><span class="wrimg"><span></span><img src="' + image + '160.jpg" width="' + w + '" height="' + h 
		+ '" onclick="javascript:ShowPrintPopup(\'' + image + '700.jpg\',' + bigw + ',' + bigh + ');"/></span><span class="wrcaption">'
		+ '<a title="Display a larger image" href="javascript:ShowPrintPopup(\'' + image + '700.jpg\',' + bigw + ',' + bigh + ');">Enlarge</a><br>'
		+ '<a title="Display sizes, finishes and prices" href="http://www.theuntappedsource.com/details.php?prodId=' + prodID + '">Purchase</a></span></div></li>');
}

function translate(language) {
  if (language != "") {
  	var page = window.location.href;
  	if (page.match(/translate_c/)) {
  	  // Translating a page that has already been translated.
  	  // Get the original URL out of the Google URL.
  	  // Trash everything up to "u=".
  	  // Trash everything from "&hl" to the end.
  		page = page.replace(/.*u=/, "");
  		page = page.replace(/&hl=.*/,"");
  	}
  	// Change special characters to ascii.
  	page = page.replace(/\//g,"%2F");
  	page = page.replace(/:/g,"%3A");
  	page = page.replace(/~/g,"%7E");
  	page = page.replace(/-/g,"%2D");
  	window.top.location.href = 'http://translate.google.com/translate?sl=en&u=' + page + '&hl=' + language;
  }
}

var ua = navigator.userAgent.toLowerCase();
var amv = ""
if (navigator.appMinorVersion) amv = navigator.appMinorVersion.toLowerCase();
var ie = (ua.indexOf("msie") != -1);
var sp2 = (amv.indexOf("sp2") != -1);
var ie_sp2 = ie && sp2;