﻿var arNewImgPath = new Array("images/menu/home_on.jpg", 
								"images/menu/email_on.jpg", 
								"images/menu/storage_on.jpg", 
								"images/menu/design_on.jpg",
								"images/menu/contact_on.jpg",  
								"images/menu/news_on.jpg");

var arNewImgObj = new Array();
        function myPreloadImages()
        {
		for(var i = 0; i < arNewImgPath.length; i++)
		{
			arNewImgObj[i] = new Image();
			arNewImgObj[i].src = arNewImgPath[i];
		}
        }
	
	function myImageSwap(strImgObjName, strNewImgPath)
	{
		document.images[strImgObjName].src = strNewImgPath;
	}
	function selectfont(titlesize){  
 if(!document.styleSheets) return;
 

 for(var i=0; i<document.styleSheets.length; i++)
  document.styleSheets[i].title == titlesize ?
   document.styleSheets[i].disabled=false : document.styleSheets[i].disabled=true;
}

function jump(selectlist){
	window.open(selectlist, "_top")
}


function jumpMenu(selectlist){
location=(selectlist.options
[selectlist.selectedIndex].value);
}

function checkrev(form){

  for(i=0;i<form.elements.length;i++) {
  	if (form.elements[i].type=="checkbox"){
	    if(form.elements["delete"].checked) {
	      form.elements[i].checked = true;
	    }
	    else {
	      form.elements[i].checked = false;
	    }
	   }
  }
}


/*From Privious Site*/

function setImage(img_src){
	document.img_vcode.src=img_src
}	


/* Preloading swap image */
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];}}
}


/* Restore the first swap image after removing the mouse */
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_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 showBanner(BannerLink){
	document.write(BannerLink);
}


function menu() {
	document.write('<tr>');
	document.write('<td height="1" valign="top" colspan="3" class="noprint">');
	document.write('<table width="780" height="100%" cellpadding="0" cellspacing="0" border="0" id="main">');
	
	document.write('<tr>');
	document.write('<td width="780" colspan="3"><img src="/images/spacer.gif" height="5"></td>');
	document.write('</tr>');

	document.write('<tr>');
	document.write('<td><img src="/images/spacer.gif" width="5" height="50"></td>');
	document.write('<td width="770" height="40">');
	document.write('<table width="770" height="40" cellpadding="0" cellspacing="0" border="0" id="menu">');
	document.write('<tr>');
	document.write('<td rowspan="2" valign="top"><a href="/index.htm"><img src="/images/logo.gif" width="300" border="0"></a></td>');
	document.write('<td width="400"><img src="/images/spacer.gif" width="1" height="25"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td>');
	document.write('<a href="/index.htm" class="menu">HOME</a>&nbsp;|&nbsp;');
	document.write('<a href="/email.htm" class="menu">E-MAIL&WEB</a>&nbsp;|&nbsp;');
	document.write('<a href="/storage.htm" class="menu">STORAGE</a>&nbsp;|&nbsp;');
	document.write('<a href="/design.htm" class="menu">WEB DESIGN</a>&nbsp;|&nbsp;');
	document.write('<a href="/contact.htm" class="menu">CONTACT</a>&nbsp;|&nbsp;');
	document.write('<a href="http://dreamersi.net/scripts/WhatsNew_XML/vb_bridge3.dll?VBPROG=call&PG=list_0.xsl&IF=LIST&CAT=0" class="menu">NEWS</a>');
	//document.write('<a href="http://dreamersi.net/scripts/WhatsNew_XML/vb_bridge3.dll?VBPROG=call&PG=list_1.xsl&IF=LIST&CAT=1" class="menu">SUPPORT</a>&nbsp;&nbsp;'); 
	//document.write('<a href="jpn.htm" class="jpn">JAPANESE</a>&nbsp;&nbsp;');
	document.write('</td>');
	document.write('</tr>');
	document.write('</table>');
	document.write('</td>');
	document.write('<td><img src="/images/spacer.gif" width="5" height="40"></td>');
	document.write('</tr><!--menu end-->');
	
	document.write('<tr>');
	document.write('<td width="780" colspan="3"><img src="/images/spacer.gif" width="1" height="1"></td>');
	document.write('</tr>');
	
	document.write('</table>');
	document.write('</td>');
	document.write('</tr>');
}
function menu_rose() {
	document.write('<tr>');
	document.write('<td height="1" valign="top" colspan="3">');
	document.write('<table width="780" height="100%" cellpadding="0" cellspacing="0" border="0" id="main">');
	
	document.write('<tr>');
	document.write('<td width="780" colspan="3"><img src="/images/spacer.gif" height="5"></td>');
	document.write('</tr>');

	document.write('<tr>');
	document.write('<td><img src="/images/spacer.gif" width="5" height="50"></td>');
	document.write('<td width="770" height="40">');
	document.write('<table width="770" height="40" cellpadding="0" cellspacing="0" border="0" id="menu">');
	document.write('<tr>');
	document.write('<td rowspan="2" valign="top"><a href="/index.htm"><img src="/images/logo.gif" width="300" border="0"></a></td>');
	document.write('<td width="400" align="right"><img src="/images/roses_special.jpg" width="133" height="40"></td>');
	document.write('</tr>');
	
	document.write('</table>');
	document.write('</td>');
	document.write('<td><img src="/images/spacer.gif" width="5" height="40"></td>');
	document.write('</tr><!--menu end-->');
	document.write('<tr>');
	document.write('<td width="780" colspan="3"><img src="/images/spacer.gif" width="1" height="1"></td>');
	document.write('</tr>');
	document.write('</table>');
	document.write('</td>');
	document.write('</tr>');
}



function footer() {
	document.write('<tr><td colspan="3" height="75"><img src="/images/spacer.gif" height="75"></td></tr>');
	document.write('<tr>');
	document.write('<td><img src="/images/spacer.gif" width="5" height="1"></td>');
	document.write('<td align="right" valign="top" id="footer" class="noprint">');
	document.write('<hr size="1">');
	document.write('<a href="/index.htm" class="footer">HOME</a> |');
	document.write('<a href="/contact.htm" class="footer">CONTACT</a> |');
	document.write('<a href="/about.htm" class="footer">ABOUT US</a> |');
	document.write('<a href="http://dreamersi.net/scripts/WhatsNew_XML/vb_bridge3.dll?VBPROG=call&PG=list_0.xsl&IF=LIST&CAT=0" class="footer">NEWS</a>');
	//document.write('<a href="http://dreamersi.net/scripts/WhatsNew_XML/vb_bridge3.dll?VBPROG=call&PG=list_1.xsl&IF=LIST&CAT=1" class="footer">SUPPORT</a><br>');
	document.write('<img src="/images/spacer.gif" height="5"><br>');
	document.write('<a href="http://pspinc.com/" class="copyright"><b>Pacific Software Publishing, Inc.</b></a><br>');
	document.write('1404 140th Place NE, Bellevue, WA 98007 USA &nbsp; TEL: 425-957-0808 / 1-800-232-3989 (U.S. only)<br>');
	document.write('<img src="/images/copyright.gif"><br>');
	document.write('<a href="http://www.pspinc.com/policy.htm" target="_blank" class="copyright"><b>PRIVACY STATEMENT</b></a>');
	document.write('</td>');
	document.write('<td><img src="/images/spacer.gif" width="5" height="1"></td>');
	document.write('</tr>');
}