
var b1 = ''+
'<table align="center" bgcolor="#ffffff" cellpadding="0" cellspacing="0" width="960">'+
'<tr class="np"><td><table cellpadding="0" cellspacing="0" width="100%"><tr><td><img src="images/crn1.gif" width="12" height="12" border="0" alt=""></td><td align="right"><img src="images/crn2.gif" width="12" height="12" border="0" alt=""></td></tr></table></td></tr>'+
'<tr class="np"><td style="padding:8 14 20 14px">'+

'<table border="0" cellpadding="0" cellspacing="0" width="100%">'+
'<tr><td height="40" width="170"><a href="http://www.curbellelectronics.com"><img src="images/logo.gif" width="127" height="36" border="0" alt="Curbell Electronics Inc."></a></td>'+
'<td align="right" valign="bottom">'+

'<table cellpadding="0" cellspacing="0">'+
'<tr><td align="right" height="24" valign="top"><img src="images/tool_free.gif" width="286" height="14" border="0" alt=""></td></tr>'+
'<tr><td align="right">'+

'<table id="top" cellpadding="0" cellspacing="0">'+
'<tr>'+
'<td class="mntx" onclick=window.location="http://www.curbellelectronics.com">HOME</td>'+
'<td class="mnsp" align="center" width="18" valign="top">|</td>'+
'<td class="mntx" onclick=window.location="http://www.curbellelectronics.com/press_releases.html">NEWS</td>'+
'<td class="mnsp" align="center" width="18" valign="top">|</td>'+
'<td class="mntx" onclick=window.location="http://www.curbellelectronics.com/products.html">PRODUCTS</td>'+
'<td class="mnsp" align="center" width="18" valign="top">|</td>'+
'<td class="mntx" onclick=window.location="http://www.curbellelectronics.com/about.html">ABOUT</td>'+
'<td class="mnsp" align="center" width="18" valign="top">|</td>'+
'<td class="mntx" onclick=window.location="http://www.curbellelectronics.com/technical.html">TECHNICAL INFORMATION</td>'+
'<td class="mnsp" align="center" width="18" valign="top">|</td>'+
'<td class="mntx" onclick=window.location="http://www.curbellelectronics.com/contact.html">CONTACT US</td>'+
'</tr>'+
'</table>'+

'</td></tr>'+
'</table>'+

'</td>'+
'</tr></table>'+
'</td></tr>'

var b2 = ''+
'</td></tr><tr class="np"><td bgcolor="#f6f6f6" style="border-top:1px solid #eaeaea; height:80px; padding:14 14 0 14px;">'+
'<table cellspacing="4" cellpadding="0" border="0" width="100%"><tr><td>'+
'<a href="http://www.curbellelectronics.com">Home</a> &nbsp;|&nbsp; '+
'<a href="http://www.curbellelectronics.com/press_releases.html">News</a> &nbsp;|&nbsp; '+
'<a href="http://www.curbellelectronics.com/products.html">Products</a> &nbsp;|&nbsp; '+
'<a href="http://www.curbellelectronics.com/about.html">About</a> &nbsp;|&nbsp; '+
'<a href="http://www.curbellelectronics.com/technical.html">Technical Information</a> &nbsp;|&nbsp; '+
'<a href="http://www.curbellelectronics.com/contact.html">Contact Us</a>'+
'</td>'+
'<td align="right" rowspan="2" width="320"><img src="images/tool_free.gif" width="286" height="14" border="0" alt=""></td></tr><tr><td>&copy;'+ new Date().getFullYear() +' Curbell Electronics Inc. &nbsp;|&nbsp; <a href="http://www.curbellelectronics.com/terms_of_use.html">Terms of Use</a> &nbsp;|&nbsp; <a href="http://www.curbellelectronics.com/site_map.html">Site Map</a></td></tr>'+
'</table>'+
'</td></tr>'+
'<tr class="np"><td bgcolor="#f6f6f6"><table cellpadding="0" cellspacing="0" width="100%"><tr><td><img src="images/crn3.gif" width="12" height="12" border="0" alt=""></td><td align="right"><img src="images/crn4.gif" width="12" height="12" border="0" alt=""></td></tr></table></td></tr>'+
'</table>'


function mn(s)			{var sv=s.split(','), id=sv[0], n=sv[1], c=sv[2], x=0, xt=''; var obj=document.getElementById(id).getElementsByTagName('td'); for(i=0; i<obj.length; i++){var sty=obj[i].style; if(obj[i].className=='mntx'){x=x + 1; if(document.all){title=obj[i].innerText}else{title=obj[i].textContent}; obj[i].title=title; sty.cursor='pointer'; sty.textAlign='center'; obj[i].id=id + ':' + x; xt=xt + title +','; if(n==x){sty.color='#C84317'; sty.cursor='pointer';} else{obj[i].onmouseover=function(){this.style.color='#C84317'}; obj[i].onmouseout=function(){this.style.color=c}}}}}
function upcase(u)		{var Rx= /\b([a-z]+)\b/ig; u.value = u.value.replace(Rx,function(w){return w.charAt(0).toUpperCase()+w.substring(1)})}
function lwcase(l)		{l.value = l.value.toLowerCase()}
function rmvspc(s)		{s.value = s.value.replace(/^\s+|\s+$/g,'')}
function chknum(n)		{n.value = n.value.replace(/[^0-9]/g,"")}
function AjxSbm(id,url)	{var xm = false; var obj=document.getElementById(id); if(window.ActiveXObject){xm=new ActiveXObject("Microsoft.XMLHTTP")}else{xm=new XMLHttpRequest()}; xm.onreadystatechange=function(){if(xm.readyState==4 && xm.status==200){obj.innerHTML=xm.responseText}else{obj.innerHTML='<img src="images/ajax-loading.gif" border="0" alt="Loading...">'}}; xm.open("GET",url,true); xm.send(null)}
function FrmCss()		{var f = document.form.elements; for (i=0; i < f.length; i++){if(f[i].type=='text' || f[i].type=='textarea' || f[i].type=='button' || f[i].type=='submit'){f[i].style.border = '2px solid #ffffff'}}; document.form.screen.value = screen.width +'x'+ screen.height+' ('+ screen.colorDepth +'bits)'}
function txt(t)			{t.style.overflow = 'visible'; if(document.all){t.style.height = '43'} else{if(t.scrollHeight > t.offsetHeight){t.rows++}}}
function Bookmark()		{var url = window.location; var title = title = document.title; if(document.all) {window.external.AddFavorite(url,title)} else{alert("Press Ctrl-D (Firefox,Opera) or Command-D (Safari) to bookmark.")}}

function GoTo(u)		{window.location = u.value}

function bxOver(c) 		{c.style.border='1px solid #C84317'; c.style.cursor='pointer';}
function bxOut(c)  		{c.style.border='1px solid #202020'; c.style.cursor='default';}

function iChkXsg()		{var obj = document.getElementById('msg'); if(obj){clearTimeout(MsgTmr); document.body.removeChild(obj)}}
function iChkFld(f,x)	{iChkXsg(); f.id = 'fld_'+ f.name; var id = f.id; if(x == undefined){var x = 0} else{var x = x}; var obj = document.getElementById(id); obj.focus(); var yPos=0, xPos=0; while(obj){yPos += obj.offsetTop; xPos += obj.offsetLeft; obj = obj.offsetParent}; var y = document.getElementById(id).offsetHeight/2; if(f.type == 'textarea'){y = 11}; if(navigator.userAgent.indexOf("Firefox") != -1){if(f.type == 'select-one'){y = 11}; if(f.type == 'checkbox'){y = 6}; if(f.type == 'radio'){y = 5}}; var msg = document.createElement('div'); msg.style.position='absolute'; msg.style.top = yPos - 21 + y; msg.style.left = xPos + document.getElementById(id).offsetWidth + x; msg.id = 'msg'; msg.style.zIndex=10; opacity=0; opaque=(opacity/100); msg.style.opacity=opaque; msg.style.MozOpacity=opaque; msg.style.filter='alpha(opacity='+opacity+')'; msg.innerHTML = '<img src="images/msg_required.png" border="0" onload=iChkMsg("msg")>'; document.body.appendChild(msg); MsgTmr = setTimeout("iChkXsg()",2500)}
function iChkMsg(id,v)	{if(document.getElementById(id)){if(v==undefined){var v=0; var PngFix = navigator.appVersion.split("MSIE"); var version = parseFloat(PngFix[1]); if ((version >= 5.5) && (document.body.filters)){for(var i=0; i<document.images.length; i++){var img = document.images[i]; var imgName = img.src.toUpperCase(); if (imgName.substring(imgName.length-3, imgName.length) == "PNG"){var imgID = (img.id) ? "id='" + img.id + "' " : ""; var imgClass = (img.className) ? "class='" + img.className + "' " : ""; var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "; var imgStyle = "display:inline-block;" + img.style.cssText; if (img.align == "left") imgStyle = "float:left;" + imgStyle; if (img.align == "right") imgStyle = "float:right;" + imgStyle; if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle; var strNewHTML = "<span " + imgID + imgClass + imgTitle + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"+ "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader" + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"; img.outerHTML = strNewHTML; i = i-1}}}}; if(v==110){var v=0; return false}; var Obj = document.getElementById(id); opacity = v+10; opaque=(opacity/100); Obj.style.opacity=opaque; Obj.style.MozOpacity=opaque; Obj.style.filter='alpha(opacity='+opacity+')'; setTimeout("iChkMsg('"+ id +"',opacity)",10)}}

