/* "Help Cursor" Code: <a style="A.help:hover; cursor:help" onclick="javascript:openWindow('.html');
return false;" target="window_name" href=".html"><b> link name</b></a> */	

<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function popup( x ) {

	var new_win = window.open("", "popup", "height=420,width=400,toolbar=no,menubar=no");
	new_win.focus();
	var page;
	page = "<html><head><title>Image Window</title><META HTTP-EQUIV='imagetoolbar' CONTENT='no'><style type='text/css'><!-- a {  color: #003399; text-decoration: none}a:hover {  color: #9900ff; text-decoration: none} .smallblack {  font-family: Arial; font-size: 8pt; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal; text-transform: none; color: #000000; text-decoration: none}--></style><script language='JavaScript1.2' src='4pure.js'></script></head><body>";
	page += "<br><br><br><center><img src=\"" + x + "\"><p><a href=\"javascript:this.close();\">close window</a></center></body></html>";
	
	new_win.document.write(page);
    new_win.document.close();
}
function popup1( x ) {

	var new_win = window.open("", "popup", "height=540,width=640,innerheight=540,innerWidth=640,toolbar=no,menubar=no");
	new_win.focus();
	var page;
	page = "<html><head><title>Image Window</title><META HTTP-EQUIV='imagetoolbar' CONTENT='no'><style type='text/css'><!-- a {  color: #003399; text-decoration: none}a:hover {  color: #9900ff; text-decoration: none} .smallblack {  font-family: Arial; font-size: 8pt; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal; text-transform: none; color: #000000; text-decoration: none}--></style><script language='JavaScript1.2' src='4pure.js'></script></head><body>";
	page += "<center><img src=\"" + x + "\"><p><a href=\"javascript:this.close();\">close window</a></center></body></html>";
	
	new_win.document.write(page);
    new_win.document.close();
}


function openWindow(strUrl) { 
	strUrl= /*"http://www.4pureair.com/" + */strUrl;
strFeatures =
"width=540,height=540,scrollbars,toolbar=0,menubar=0,location=0,directories=0,status=0"; 
//,dependent=1  This makes NS's popups "locked on 'top'"!!!!
	window.open(strUrl , "_blank",strFeatures);
}
function openWindow1(strUrl) { 
	strUrl= /*"http://www.4pureair.com/" + */strUrl;
	strFeatures = "width=365,height=300,toolbar=0,menubar=0,location=0,directories=0,status=0";
	window.open(strUrl , "_blank",strFeatures);
}
function openWindow2(strUrl) { 
	strUrl= /*"http://www.4pureair.com/" + */strUrl;
	strFeatures = "width=540,height=200,toolbar=0,menubar=0,location=0,directories=0,status=0";
	/*style='BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; FONT-SIZE: 7pt; FONT-STYLE: bold; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffc5' */
	window.open(strUrl , "_blank",strFeatures);
}
function openWindow3(strUrl) { 
	strUrl= strUrl;
strFeatures =
"width=800,height=800,scrollbars,toolbar=1,menubar=1,location=1,directories=1,status=1"; 
//,dependent=1  This makes NS's popups "locked on 'top'"!!!!
	//window.open(strUrl , "_blank",strFeatures);
var nwin = window.open("", "links", "");

nwin.focus();
	//var purl = unescape(document.URL); //only ok place?!!
	var page;
	page = "<html><head><title>Articles and Other Info</title><script language='JavaScript1.2' src='4pure.js'></script></head>";
	page += "<frameset id=Frame frameborder=0 framespacing=2 border=0 rows=60,*><frame id=TopFrame src='linkhead.html' imagesrc=imagetop name=TopFrame marginwidth=4 marginheight=0 scrolling=no noresize=true bordercolor=white frameborder=0></frame><frame id=Answer name=Answer bordercolor=#FFFFFF src="+ strUrl +"></frame><noframes><body bgcolor=#ffffff><p>The links to other sites from 4Pureair.com works well only with frame-capable browsers. Please upgrade your browser to take advantage of all features of<a href=http://4pureair.com target=_parent>http://4PurAir.com.com</a></p></body></noframes></frameset></html>";
	
	nwin.document.write(page);
	nwin.document.close();
/*<frame id=LinksFrame src=xxx.html name=LinksFrame marginwidth=0 marginheight=0 scrolling=no noresize=true bordercolor=#ffffff></frame>   raws=53,17,*       */	
}

function openWindow4() { 
	//strUrl= strUrl;
strFeatures="width=450,height=420,scrollbars=1,toolbar=0,menubar=0,location=1,directories=0,status=0";
	window.open('http://www.bbbonline.org/cks.asp?id=10307141313533736', 'Participant',strFeatures);
}

function openWindow5(strUrl) { 
	strUrl= strUrl;
strFeatures =
"width=800,height=800,scrollbars,toolbar=1,menubar=1,location=1,directories=1,status=1"; 
//,dependent=1  This makes NS's popups "locked on 'top'"!!!!
	//window.open(strUrl , "_blank",strFeatures);
var nwin = window.open("", "mals", "");

nwin.focus();
	//var purl = unescape(document.URL); //only ok place?!!
	var page;
	page = "<html><head><title>4PureAir.com (C L D) Shopping Cart</title><script language='JavaScript1.2' src='4pure.js'></script></head>";
	page += "<frameset id=Frame frameborder=0 framespacing=2 border=0 rows=60,*><frame id=TopFrame src='linkhead.html' imagesrc=imagetop name=TopFrame marginwidth=4 marginheight=0 scrolling=no noresize=true bordercolor=white frameborder=0></frame><frame id=Cart name=cart bordercolor=#FFFFFF src="+ strUrl +"></frame><noframes><body bgcolor=#ffffff><p>The shopping cart of 4PureAir.com works well only with frame-capable browsers. Please upgrade your browser to shop at <a href=http://4pureair.com target=_parent>http://4PurAir.com.com</a> or simply order at toll free: 877-892-2356</p></body></noframes></frameset></html>";
	
	nwin.document.write(page);
	nwin.document.close();
/*<frame id=LinksFrame src=xxx.html name=LinksFrame marginwidth=0 marginheight=0 scrolling=no noresize=true bordercolor=#ffffff></frame>   raws=53,17,*       */	
}

function updateParent(strUrl) { 
	opener.document.location = strUrl;
    opener.focus(); 
	//self.blur(); 
	//self = self.location; //return;//ok, but it still 'busy', return -- only 1st time ok, why?
	//self.document.location = this.location.href; //keep self window "settle down"!
}

 //Start "controlled"  colunm and spot feature functions!!!
 
 // function side_job1(){
  //document.write("<script language='JavaScript1.2' src='slide.js'></script>"};
  //show_slide();
  //} //do_slide() see middle
  function side_job2(){} //do_search() or login
  
  function side_job3(){ //do_SARS()
		x = "<a href='' onClick=\"openWindow('sars.html'); return false;\">" +
"<img src='images/anim_side3.gif' border='0' height='18'></a>";
  document.write(x);
  }
  
  function side_job5(){
  y = "<a href='procon.html'><img src='images/special_anim.gif' width=123 alt='see Details: Resources>>Promotion/Contest' border=0></a>";
  document.write(y);
 /* y = "<img src='images/phone_anim.gif' width=135 alt='7/12 - 7/14 Details: Resources>>Promotion/Contest' border=0>";
  document.write(y);
  
  /*y = "<script language='javascript' src='http://www.4pureair.com/" +
  "livesupport/livehelp_js.php?department=1'></script>";
  document.write(y);*/
  }
  function side_job6(){// WIDTH=85 HEIGHT=130
  z = "<a href=#11 onclick='openWindow4();return false;'><img src='images/bbbReliSeal3.gif' alt='BBBOnLine Reliability Seal' BORDER=0></a>";//<br><a href=#11 title='Click Image to Verify'><font face=Arial size=2><b>The Proud Participant</b></font></a>
  document.write(z); 
  }
 /* function side_job4(){
  q = "<a href=#1a title='To Protect Yourselves: Buy Our Ultimate Air Purifiers Also!' onclick=\"openWindow3('http://cnn.netscape.cnn.com/news/story.jsp?floc=FF-APO-1500&idq=/ff/story/0001%2F20031125%2F140743567.htm&sc=1500&photoid=20031020NYET153');return false;\"><b><font face=Arial color=#ff0810>Worst Flu Season in 30 Years Predicted!</font></b></a>";
  document.write(q);
  }
  */
  function side_job4(){
  q = "<b><font face=Arial color='Gray'>Worst Flu Season in 30 Years Predicted!</font></b><br><br><a href=#1a title='Please check \"Special Offers\" for details!' onclick=\"openWindow('cam.html');return false;\"><b><font face=Arial color=#ff0810>Free Gift: A '3 in 1' CAMERA (Digital, Video and Web)!!</font></b></a>";
  document.write(q);
  }  
  
  function side_job7(){}
  
  function start_job1(){} //cart_total() 
  function start_job2(){} //startclock()
  function start_job3(){//item_promo()
  //x = "<br><br>";
  x = "<img src='images/anim2_promo.gif' width='285'><br><br>"; //<br>Free Air Quality and Ozone Test Kit!
  document.write(x);
  } 
  function side_job8(){ //email_friend()
// onclick="start_job5();" Automatically Qualify You for the Monthly 'Win A Free Air Purifier' Contest!!
  mess = "<tr><td align=right><a href='mailto:?Bcc=other friend emails...&subject=4PureAir.com - The Ultimate Air and Water Purifiers, clean in 5 ways plus more...&body=I think this may be interesting to you! http://www.4pureair.com' title='Please refer our products' onMouseOut=\"MM_swapImage('refer','','images/refer.jpg',1);\" onMouseOver=\"MM_swapImage('refer','','images/refer_over.jpg',1);\"><img name=refer src='images/refer.jpg' width=95 height=18 border=0></a></td></tr>";
  document.write(mess);
  }								
  
  function ship(x){//alert("I want 3 day shpping!");
  var x, y;
  y = x + 1;
  
  if(document.forms[y].shipping.value=="0.00")
  {
   document.forms[y].shipping.value="8.00";
   document.forms[y].shipping_extra.value="8.00";
				}
				else{
   document.forms[y].shipping.value="0.00";
   document.forms[y].shipping_extra.value="0.00";
  }
 /* if(this.document.paypal.shipping.value=="0.00")
  {
   this.document.paypal.shipping.value="8.00";
   this.document.paypal.shipping_extra.value="8.00";
				}
				else{
   this.document.paypal.shipping.value="0.00";
   this.document.paypal.shipping_extra.value="0.00";
  } 
  7/27 paypal always gget "0"!?
  <select name="os0""><option  value="No">No<option value="Yes">Yes</select>
 function ship(x){if document.forms[y].os0.selected = "no"} return 8.00
  else return "0.00"}
  <input type="hidden" name="shipping" value="ship(1)">
<input type="hidden" name="shipping_extra" value="ship(1)">
  */
  }
  function ship1(x){//alert("I want 3 day shpping!");
  var x, y;
  y = x + 1;
  
  if(document.forms[y].shipping.value=="8.00")
  {
   document.forms[y].shipping.value="12.00";
   document.forms[y].shipping_extra.value="12.00";
				}
				else{
   document.forms[y].shipping.value="8.00";
   document.forms[y].shipping_extra.value="8.00";
  }}
						
  function start_job5(){ //page_pop()
// if(document.referrer != "www.4pureair.com") 
 //openWindow2('contest.html');
 //doPopup();
 //popper(); 
     //pop_unload();  
  }

/* 

if(document.referrer != ""){ 
//can use for detecting which site users come from!! then show pops or other features!!
document.write(document.location.toString());

<a href="javascript:this.history.back()">
<script language="JavaScript1.2">
if(this.history.length != ""){
document.write("<<");
}</script>&nbsp;&nbsp;</a>
<a href="javascript:this.history.forward()">&nbsp;&nbsp;
<script language="JavaScript1.2">
if(this.history.length != ""){
document.write(">>");
}</script>
&nbsp;&nbsp;</a> 
*/



 // Scrolling Status Bar message settings
  //var x=1;
  /*var MessageText = new Array;
  MessageText[1] = "The Ultimate"
  MessageText[2] = "aaaaaa The Ultimate Air"
  MessageText[3] = "bbbbbb The Ultimate Air Purification "
  MessageText[4] = "ccccc The Ultimate Air Purification Technology"
  MessageText[5] = "ddddd The Ultimate Air Purification Technology Store"
*/

/*  MessageText = "We are proud of 'PureWave' Technology, our Best 'Online Selection Guide', Unique 'Categorization' and Smart 'Comparisons'" 
*/
 MessageText = "Electronics X, Inc. - ISO 9001:2000 Compliant. We specialize in Hard-To-Find, Obsolete and Long Lead Time Components. Click on \"Quick RFQ\" to send us your requirement, we'll respond to you with the best quote, or the solution (if necessary)! Thanks for visiting!"


  var DisplayLength = 150
  var pos = 1 - DisplayLength;
  var j = 1;
  function ScrollInStatusBar(){
  //for(j=1;j<5;j++)
  var scroll = "";
  pos++;
  //var x ="";
  //x = MessageText[j];
  
  if (pos == MessageText.length) pos = 1 - DisplayLength;
  if (pos<0) {
  	for (var i=1; i<=Math.abs(pos); i++)
  	scroll = scroll + "";
  	    scroll = scroll + MessageText.substring(0, DisplayLength - i + 1);
  }
  else
      scroll = scroll + MessageText.substring(pos, pos + DisplayLength);
  
  window.status = scroll;
  
  //window.status = MessageText[j];
  //Scrolling speed
  //}
  setTimeout("ScrollInStatusBar()",120); //60
  }
 // }
// In NS, it really makes everything outside itself "sticky"!  
if (navigator.appName != "Netscape"){
//if (++j>5) j=1;
 ScrollInStatusBar();
//setTimeout("ScrollInStatusBar()",2050);
 //delay(500); //htis line make showing 1st one, if not showing the last one!???? means it shows the lines //before the last TOO FAST, can not see! 
}


function startclock()
{

var thetime=new Date();

var nhours=thetime.getHours();
var nmins=thetime.getMinutes();
var nsecn=thetime.getSeconds();
var nday=thetime.getDay();
var nmonth=thetime.getMonth();
var ntoday=thetime.getDate();
var nyear=thetime.getYear();
var AorP=" ";

var ClockV="";

if (nhours>=12)
    AorP="P.M.";
else
    AorP="A.M.";

if (nhours>=13)
    nhours-=12;

if (nsecn<10)
 nsecn="0"+nsecn;

if (nmins<10)
 nmins="0"+nmins;

if (nday==0)
  nday="Sunday";
if (nday==1)
  nday="Monday";
if (nday==2)
  nday="Tuesday";
if (nday==3)
  nday="Wed";
if (nday==4)
  nday="Thur";
if (nday==5)
  nday="Friday";
if (nday==6)
  nday="Sat";

nmonth+=1;

if (nyear<=99)
  nyear= "19"+nyear;

if ((nyear>99) && (nyear<2000))
 nyear+=1900;
//document.multi.clockspot.value
document.multi.clockspot.value=nhours+": "+nmins+": "+nsecn+" "+AorP+" "+nday+", "+nmonth+"/"+ntoday+"/"+nyear;
setTimeout('startclock()',1000);
//document.write(ClockV);
}
/* <form name="multi">
<input type="text" name="clockspot" size="30" onfocus=this.blur()>
</form> */  


//	Marqee(IE only!), Important   : This function must be called from body onload
//  '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
//  '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
   //  function set_preferences(){} // no use
	function set_preferences(){
//  ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''		
if (navigator.appName != "Netscape"){
//   you can change the properties given below
      var sl_news_dir="up";
      var sl_news_width="145px";
      var sl_news_height="100px";
      var sl_news_brd_color="";
      var sl_news_brd_style=""; //solid
      var sl_news_scrll_amount=1; //Specifies the number of pixels the text scrolls between each subsequent drawing of the sliding news
      var sl_news_loop="-1";
      var sl_news_scrll_delay = 180;// <=182 ;//Specifies the speed of the sliding news scroll, in milliseconds 	
      var sl_news_scrll_beh="slide";											
      var ptImage=""; //path of image directory if needed
     // var sl_news_up_down      = "url(" + ptImage + "up.gif)" ;
     // var sl_news_on_off       = "url(" + ptImage + "online.gif)" ;			

//Do not exceed the following line
//  ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''		
      
	  
	  var  objMar = document.all("marx") ;
      objMar.direction      = sl_news_dir ;
      objMar.style.width    = sl_news_width  ;
      objMar.style.height   = sl_news_height ;
      objMar.style.BEHAVIOR = sl_news_scrll_beh ;
      objMar.scrollDelay    = sl_news_scrll_delay ;	
      objMar.scrollAmount   = sl_news_scrll_amount ;
	  objMar.loop   = sl_news_loop ;								
	  objMar.style.borderColor = sl_news_brd_color ;
      objMar.style.borderStyle = sl_news_brd_style ;
     // document.all('up_down').style.backgroundImage = sl_news_up_down;
     // document.all('btnstat').style.backgroundImage =	sl_news_on_off;
		}
		//else document.write(" ");
	}
	
	function side_job1(){ //do_slide()
	var mess = "";
	if (navigator.appName != "Netscape"){
//<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> 
// as Much as <br>&nbsp;&nbsp;Possible
mess = "<MARQUEE onmouseover='this.stop()' onmouseout='this.start()' id='marx' trueSpeed bgcolor=''  class=''><br><br><font face=arial size=2 COLOR='#002bff'>&nbsp;&nbsp;<b>Welcome to <font color=Fuchsia>4PureAir</font></b><br><br>&nbsp;&nbsp;Due to the nature of<br>&nbsp;&nbsp;air purifier market,<br>&nbsp;&nbsp;we need to Reveal<br>&nbsp;&nbsp;All the Facts and<br>&nbsp;&nbsp;Data <u>Completely</u>!<br><br>&nbsp;&nbsp;If you are serious<br>&nbsp;&nbsp;in buying an Ultimate<br>&nbsp;&nbsp;Purifier, please try<br>&nbsp;&nbsp;to read as much as<br>&nbsp;&nbsp;you can at our<br>&nbsp;&nbsp;'Home Page' !<br><br><br>&nbsp;~~~~~~~~~~~~~~~~~~~~~~~~&nbsp;<br><b>&nbsp;<a href='http://www.4pureair.com/water/index.html' target='_blank'>* <u>For Water Purifiers</u>,<br>&nbsp;&nbsp;&nbsp;<u>click here or click on</u><br>&nbsp;&nbsp;&nbsp;<u>'UltraPure' Water</u></a><br>&nbsp;~~~~~~~~~~~~~~~~~~~~~~~~&nbsp;<br><br><br>&nbsp;&nbsp;<a href='#1a' onclick=javascript:openWindow('howtheywork1.html');><img src='images/bioz_anim.gif' border='0' width='130' height='80' alt='How Biozone Purifiers Work?'></a><br>&nbsp;&nbsp;&nbsp;It's not an 'Air Filter'<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=#1a onclick=javascript:onClick=openWindow('purewave.html');return false;><img src='images/plasma.gif' border='0' width='75' alt='PureWave - UV Cold Gas Plasma'></a>" + "<br><br><b>&nbsp;&nbsp;&nbsp;\"PureWave\" - Gas<br>" + "&nbsp;&nbsp;&nbsp;Plasma, UVGI, <br>&nbsp;&nbsp;&nbsp;Hydroxyls, Safe<br>&nbsp;&nbsp;&nbsp;Ozone Generation,<br>" + "&nbsp;&nbsp;&nbsp;Ionization, 5 ways<br>&nbsp;&nbsp;&nbsp;to clean at the <br>&nbsp;&nbsp;&nbsp;same time !</b>" + "<br><br><div align='center'><a href=#1a onClick=\"openWindow('data.html');return false;\"><img src='images/petridishs.gif' alt='Independent Lab Test Data' border='0'></a></div>"+"<br><div align='center'><a href='#1a' onclick=javascript:openWindow('ctestimon.html');><img src='images/ceo1.gif' alt='What our customers say?' border='0'></a></div><br><font face=arial size=2 COLOR=''><b>&nbsp;" + "<a href='#1a' onclick=javascript:openWindow('ceoletter.html');>" + "Biozone CEO's Letter</a></b><br><br><div align='center' title='Best Quality Control and Plug & Play!'><b>Made In</b></font><br><img src='images/usa_flag.gif' border='0' alt='Best Quality Control and Plug & Play!'></div><br><br>&nbsp;&nbsp;<img src='images/100200.GIF' width='130' border='0' alt='Home or Office Units'><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src='images/induct.GIF' width='100' height='115' border='0' alt='In Duct Purifier Units'><br><br>&nbsp;&nbsp;<img src='images/powerz1.GIF' width='130' border='0' alt='In Duct Purifier Units'><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src=images/satisfaction_t89.gif width=109 border=0 alt=''><br><br>&nbsp;&nbsp;&nbsp;<img src=images/biozone_logo2.gif width='128' border=0 alt=''><br><b>&nbsp;&nbsp;&nbsp;<a href='#1a' onclick=javascript:openWindow('whyus.html');>Dealer & Specialists</a></b>" + "<br><br>&nbsp;<a href=#11 onclick='openWindow4();return false;'><img src='images/bbbReliSeal3.gif' alt='BBBOnLine Reliability Seal' BORDER=0></a><br><b>The Proud Participant</b>" + "<br><br><b>&nbsp;Breathe Pure and<br>&nbsp;Easy, Get One Today</b></font><br><br><br><br><br><br><br><br><br><br>" + "</marquee>"
// WIDTH=85 HEIGHT=130

//delay = 10;    // time in seconds before slide starts
/*timer = setTimeout("document.write(mess);", delay*1000); */
document.write(mess);
//setTimeout("document.write('');", delay*1000);
				   }
	 else{ //need a product photos' anim or text animi, 5/29/03
     var mess = "&nbsp;&nbsp;<img src='images/anim_marq.gif' border='0' width='130' height='80' title='Try Our \"How To Select\", Unique Categories. & Smart Comparisons'><br>&nbsp;&nbsp;&nbsp;<font face=arial size=2 COLOR='#002bff'><b>It's not an 'Air Filter'</b></font>"
     document.write(mess);
         }
}
	
//  '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
//  '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
//  '' Name        : up_down(objMar)  
//	'' Inputs      : objMar; marquee object
//  '' Description : change the sliding news direction (up or down)
//	'' Owner       : SEYKAY(seyit_rock@hotmail.com)
//	'' DATE        : 10.10.2001 
//	'' Modified By : 
//  '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
//  '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
		 
	 function up_down(objMar){
  	 if ((document.all('up_down').style.backgroundImage) == "url(up.gif)") {
	      document.all('up_down').style.backgroundImage = "url(down.gif)"
	 			objMar.direction = "down";
     }else{
        document.all('up_down').style.backgroundImage = "url(up.gif)"
	 			objMar.direction = "up";
     } 
   }
//  '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
//  '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
//  '' Name        : chgstat
//	'' Inputs      : N/A
//  '' Description : changes the status of the sliding news (on or off)
//	'' Owner       : SEYKAY (seyit_rock@hotmail.com)
//	'' DATE        : 10.10.2001 
//	'' Modified By : 
//  '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
//  '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
   function chgStat(){
     if ((document.all('btnstat').style.backgroundImage)== "url(offline.gif)") {
	      document.all('btnstat').style.backgroundImage = "url(online.gif)"
	      document.all('marx').start()
     }else{
        document.all('btnstat').style.backgroundImage = "url(offline.gif)"
	      document.all('marx').stop()
	   } 
  }

  
//-->



//Marguee for all 6/14/03

//function side_job1(){
/*
Cross browser Marquee II- ?Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and TOS, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/
/*
//Specify the marquee's width (in pixels)
var marqueewidth="145px" //200
//Specify the marquee's height
var marqueeheight="100px" //150
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=1
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1

//Specify the marquee's content
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):

var marqueecontent='<font face="Verdana">Thank you for visiting <a href="http://www.dynamicdrive.com">Dynamic Drive.</a><p>If you find this script useful, please consider linking to us by <a href="../link.htm">clicking here.</a><p>Visit our partner <a href="http://javascriptkit.com">JavaScript Kit</a> for JavaScript tutorials.</font>'


////NO NEED TO EDIT BELOW THIS LINE////////////

marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
var actualheight=''
var cross_marquee, ns_marquee

function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
cross_marquee.innerHTML=marqueecontent
actualheight=cross_marquee.offsetHeight
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.top=parseInt(marqueeheight)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualheight=ns_marquee.document.height
}
lefttime=setInterval("scrollmarquee()",20)
}
//function side_job1(){
window.onload=populate
//}

function scrollmarquee(){

if (iedom){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}
else if (document.layers){
if (ns_marquee.top>(actualheight*(-1)+8))
ns_marquee.top-=copyspeed
else
ns_marquee.top=parseInt(marqueeheight)+8
}
}

if (iedom||document.layers){
with (document){
if (iedom){
write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('<div id="iemarquee" style="position:absolute;left:0px;top:0px;width:100%;">')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee">')
write('<layer name="ns_marquee2" width='+marqueewidth+' height='+marqueeheight+' left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
}
}
}
//}
//end MArguee for all
*/




//   Begin 
/* 5/29/03 "Delay Function" to do something (close or pop...) <BODY OnLoad="doPopup();"> 
sample popup can be a radio bttn questionaire, i.e. "Want to buy oofline...?", then load the "solution"*/
closetime = 0; // Close window after __ number of seconds?
// 0 = do not close, anything else = number of seconds

function Start(URL, WIDTH, HEIGHT) {
windowprops = "left=50,top=50,width=" + WIDTH + ",height=" + HEIGHT;
contest = window.open(URL, "contest", windowprops); 
window.focus(); //this HIDE the pop window
if (closetime) setTimeout("contest.close();", closetime*1000);
}

function doPopup() {
url ="contest.html";
width = 320;  // width of window in pixels
height = 545; // height of window in pixels
delay = 10;    // time in seconds before popup opens
timer = setTimeout("Start(url, width, height)", delay*1000);
}

// On Unload pop function 5/31/03
DoPop=true;
		
function popper()
			{
			if(DoPop)window.open('contest.html','popupwin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=320,height=545,left=2000,top=2000');
					window.self.focus();
	}			
	
//this control unload pop
function pop_unload()
			{	
		if(window!= top)top.location.href=location.href;
		window.onunload=popper;
	}		
//  End -->

<!-- ########################### Tracking Visitor Behaviors ########################## !-->
//see buttom.js for uasage...
<!--
var clock=new Date();					    
var startTime=clock.getTime();
function sendlog()
{
var leaveTime=new Date();
var totalTime=((leaveTime.getTime()-startTime)/1000); 
var hTimerLast=Math.floor(totalTime/3600);     
var mTimerLast=Math.floor((totalTime%3600)/60); 
var sTimerLast=Math.floor(totalTime%60);      
//var a="http://www.solsoftware.com/diywebkit/sub/scripts/diycom_log.cgi?ref=";

//mywin=window.open("","display","width=10,height=10,menubar=no,status=no,toolbar=no,left=2000,top=2000");
mywin.document.open();
mywin.document.writeln("<html><head>");
mywin.document.writeln("<title></title>");
mywin.document.writeln("</head>");
mywin.document.writeln("<body onload='window.close()';>");
mywin.document.writeln("<BR><BR><BR><BR><BR><img src="+a+document.referrer+"&tr="+document.URL+"&ti="+hTimerLast+":"+mTimerLast+":"+sTimerLast+" border=0"+" width=0"+" height=0"+">");
mywin.document.writeln("</body></html>");
mywin.document.close();
}
//-->


<!-- ########################### /Tracking my web ##########################!-->
var bmark = "_No";
function ismark(){bmark = "_Yes"; return bmark}



function addbookmark()
{
bookmarkurl = location.href
bookmarktitle = document.title
//var bmark = "_No";
var isAOL = navigator.appVersion.indexOf('AOL')
//if (isAOL > 0){bmark = "_Yes"; return bmark;
 //         		alert("Press 'Ctrl' + '+' to bookmark this page.")
 //       }
	   // else {									   
             if (document.all){
			 		if (isAOL != -1){
					    
          				alert("Press 'Ctrl' + '+' to bookmark this page.");
						 ismark()//bmark = "_Yes";//return bmark;
						// if (bmark != "_No")alert("bmark set to 'Yes' !")
 						      }
			 				else{
                               ismark()//bmark = "_Yes"; 
                               window.external.AddFavorite(bookmarkurl, bookmarktitle);
							   //return bmark;
							    }
//if(this.anchor.onmouseove == true) alert("In AOL Browser, Press 'Ctrl' + '+' to add to //Favorites.");	
                               }
             else{ 
        if (navigator.appName=="Netscape"){
		ismark()//bmark = "_Yes"; 
		alert("Press 'Ctrl' + 'D' to bookmark this page.")
		//return bmark; //may not do it
		// window.sidebar.addBookmark(bookmarktitle,bookmarkurl,"");
						   }
		             else {
	//if (navigator.appVersion.substring=="AOL")alert("Press 'Ctrl' + '+' to bookmark this page.")
		//if(this.anchor.onmouseover) alert("Click the Bookmark bar to add to Favorites.")
		       bmark = "_Yes";
			   alert("Press 'Ctrl' + '+' to bookmark this page.")
			   //return bmark; //may not do it
			            }

            }  //if (bmark != "_No"){alert("bmark set to 'Yes' !"); 
			//return false;
}




//var bmark = "_No";
 function addbookmark2()
{
bookmarkurl = location.href
bookmarktitle = document.title
var bmark = "_No";
var isAOL = navigator.appVersion.indexOf('AOL')
if (isAOL > 0){bmark = "_Yes"; return bmark;
          		alert("Press 'Ctrl' + '+' to bookmark this page.")
        }
	    else {									   
             if (document.all){
                               bmark = "_Yes"; return bmark;
                               window.external.AddFavorite(bookmarkurl, bookmarktitle);
//if(this.anchor.onmouseove == true) alert("In AOL Browser, Press 'Ctrl' + '+' to add to //Favorites.");
                               }
             else{ 
        if (navigator.appName=="Netscape"){
		bmark = "_Yes"; return bmark;
		alert("Press 'Ctrl' + 'D' to bookmark this page.")
		// window.sidebar.addBookmark(bookmarktitle,bookmarkurl,"");
						   }
		//else {
	//if (navigator.appVersion.substring=="AOL")alert("Press 'Ctrl' + '+' to bookmark this page.")
		//if(this.anchor.onmouseover) alert("Click the Bookmark bar to add to Favorites.")
		       }

    }
}



/* Not working right!!!
Add to NS6 Sidebar script: By Dynamicdrive.com
For full source, Terms of service, and 100s DTHML scripts
Visit http://www.dynamicdrive.com
*/

function addNSsidebar() { 
sideurl = location.href;
sidetitle = document.title;
if (window.sidebar&&window.sidebar.addPanel)
//configure two parameters below to your own (title, url of content to store)
 window.sidebar.addPanel(sidetitle,sideurl,"");
else 
 alert("You need NS 6.0 or up to use this particular feature.")
   } 
//--> 

/*
*/
/*
var message="All contents are protected and not for download.\n\n?2002-2003 Biozone?Scientific & 4PureAir.com\n "; 
// Protect page a bit...
var click3="_No";	//right click check for mvi1, for specific 'click/action' (onClick, onChange...), use a func to set a var, then give them to mvi1, great!

isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;

if (isIE||isNN){
document.oncontextmenu=checkV;
}else{
document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);
document.onmousedown=checkV;}
*/
function checkV(e){  //protect tiny win:at next line!
if (document.title = ""){click3=" Yes "; return false;}else{
if (isN4){
if (e.which==2||e.which==3){
click3="_Yes";
alert(message); return false;
}}else{
click3="_Yes";
alert(message); return false;}}}

// set menu bar off, now only for NS

function no_menubar(){
 // if(window.menubar.visible == true)
 if (document.all){
//window.external.menubar.visible = false; //IE, need right command!!
         }
		// else
           //  window.menubar.visible = false
}
//no_menubar();

function footer() {
mess = "<tr><td colspan=3 align=center class=footer>Questions or Need help? <a href=#1a   onClick=\"openWindow('contact1.html'); return false;\">Contact Us</a> | <a href=#1a  onclick=\"addbookmark();\" title=\"Add 4PureAir.com to Your Favorite Links Folder\">Bookmark This Page</a> | <!-- <a href=#1a onClick=\"openWindow2('contest.html');return false;\" title=\"Refer Our Products; Automatically Qualify You for the Monthly 'Win A Free Air Purifier' Contest!!\"> --><a href=\"mailto:?Bcc=other friend emails...&subject=4PureAir.com - The Ultimate Air and Water Purifiers, clean in 5 ways plus more...&body=I think this may be interesting to you! http://www.4pureair.com\" title=\"Please Refer Our Products\"> Email Friends</a> | <a href=#1a onClick=\"openWindow('policy.html');return false;\">Policy</a><!-- | <a href=#1a onClick=\"openWindow('map.html');return false;\">Site Map</a>--></td></tr><tr><td colspan=3><br></td></tr><tr><td colspan=3 align=center class='footer'>&copy; 2002-2003 Biozone&reg; Scientific & 4PureAir.com&nbsp;&nbsp;&nbsp;&nbsp;Design by <a href=\"mailto:info@4pureair.com?subject=4PureAir.com Web Design\" title=\"Email Webmaster\">InterO<sub>2</sub></a>&nbsp;&nbsp;&nbsp;&nbsp;<img src='images/usaribbon.gif' title='We support our nation!'></td></tr>";

document.write(mess);

}

function mapper() {
mess = "<map name=cat><area shape='poly' coords='0,-2,90,-2,90,19,0,19,0,-2' href=#1a onMouseOut=\"if (navigator.platform != 'MacPPC' ) MM_swapImage('cat','','images/cat.jpg',1);\" onMouseOver=\"if (navigator.platform != 'MacPPC' ) MM_swapImage('cat','','images/cat_over.jpg',1);\" onclick=\"openWindow('gauidetable.html#cat');return false;\"></map><map name=ho><area shape=poly coords=\"0,-2,90,-2,90,19,0,19,0,-2\" href=#1a onMouseOut=\"if (navigator.platform != 'MacPPC' ) FW_startTimeout();\" onMouseOver=\"if (navigator.platform != 'MacPPC' ) window.FW_showMenu(window.fw_menu_4,149,197);\"></map>  <map name=comm><area shape=poly coords=\"0,-2,90,-2,90,19,0,19,0,-2\" href=#1a onMouseOut=\"if (navigator.platform != 'MacPPC' ) FW_startTimeout();\" onMouseOver=\"if (navigator.platform != 'MacPPC' ) window.FW_showMenu(window.fw_menu_0,149,219);\"></map><map name=food><area shape=poly coords=\"0,-2,90,-2,90,19,0,19,0,-2\" href=#1a onMouseOut=\"if (navigator.platform != 'MacPPC' ) FW_startTimeout();\" onMouseOver=\"if (navigator.platform != 'MacPPC' ) window.FW_showMenu(window.fw_menu_1,149,241);\"></map><map name=parts><area shape=poly coords=\"0,-2,90,-2,90,19,0,19,0,-2\" href=#1a onMouseOut=\"if (navigator.platform != 'MacPPC' ) FW_startTimeout();\" onMouseOver=\"if (navigator.platform != 'MacPPC' ) window.FW_showMenu(window.fw_menu_2,149,263);\"></map><map name=tech><area shape=poly coords=\"0,-2,90,-2,90,19,0,19,0,-2\" href=#1a onMouseOut=\"if (navigator.platform != 'MacPPC' ) FW_startTimeout();\" onMouseOver=\"if (navigator.platform != 'MacPPC' ) window.FW_showMenu(window.fw_menu_5,149,340);\"></map><map name=comp><area shape=poly coords=\"0,-2,90,-2,90,19,0,19,0,-2\" href=#1a onMouseOut=\"if (navigator.platform != 'MacPPC' ) FW_startTimeout();\" onMouseOver=\"if (navigator.platform != 'MacPPC' ) window.FW_showMenu(window.fw_menu_3,149,362);\"></map><map name=res><area shape=poly coords=\"0,-2,120,-2,120,19,0,19,0,-2\" href=#1a onMouseOut=\"if (navigator.platform != 'MacPPC' ) FW_startTimeout();\" onMouseOver=\"if (navigator.platform != 'MacPPC' ) window.FW_showMenu(window.fw_menu_6,149,165);\"></map>";

document.write(mess);
}

//////////

drf = unescape(document.referrer) + "";
if((drf=="undefined")||(drf=="")){drf="_Jump_In_";}else drf = drf; 

//09/11/04
function high(which2){

theobject=which2

if (window.downlighting) clearInterval(downlighting)

highlighting=setInterval("highlightit(theobject)",50)

}



function low(which2){

clearInterval(highlighting)

theobject=which2

downlighting=setInterval("downlightit(theobject)",50)

}



function highlightit(cur2){

if (cur2.filters.alpha.opacity<100)

cur2.filters.alpha.opacity+=20

else if (window.highlighting)

clearInterval(highlighting)

}



function downlightit(cur2){

if (cur2.filters.alpha.opacity>60)

cur2.filters.alpha.opacity-=20

else if (window.downlightit)

clearInterval(downlighting)

}