///open window function
var isClicked=0
var newWindow=null
function openWindow(swap1,swap2)
{
if((isClicked>0)&&(newWindow.closed==false))
        {
        newWindow.close();
        }
newWindow=window.open(swap1,'',swap2);
isClicked++
}
function closeWindow()
{
if(newWindow)
        {
        newWindow.close()
        }
}
////////////

//FORM VALIDATION///////////////////////////////////////////////////////////////////////////////////////

// "t-" = TEXTBOX OR TEXTAREA
// "s-" = SELECT BOX (DROP-DOWN MENU)
// "r-" = RADIO BUTTONS
// "n-" = NUMBER in TEXTBOX
// "#"  = NUMBER WITH SPECIFIC LENGTH   example name : #-9socnum
// "e-" = EMAIL

var validateCounter
var myElement

function validate(swap){
myform=swap
mySwitch=false
counter=0
formTemp=""



for(validateCounter=0;validateCounter<myform.length;validateCounter++){
	if(myform.elements[validateCounter].name.charAt(1)=="-"){
    	myElement=myform.elements[validateCounter].name
        if(myElement.charAt(0)=="t"){emptyField()}
        else if(myElement.charAt(0)=="s"){validateSelect()}
        else if(myElement.charAt(0)=="r"){validateRadio()}
        else if(myElement.charAt(0)=="n"){validateNumber()}
        else if(myElement.charAt(0)=="#"){validateNumLen()}
        else if(myElement.charAt(0)=="e"){validateEmail()}
        }
	if(mySwitch){break}
    }
	
if(!mySwitch){myform.submit()}
}



//VALIDATE THERE'S SOMETHING IN TEXTFIELD//////////////////////////////////////////////////////////////

function emptyField(){
mySwitch=false
var space
space=false

for(var a=0;a<myform.elements[validateCounter].value.length;a++){
	if(myform.elements[validateCounter].value.charAt(a)==" "){
		space=true
		}
	else{
		mySwitch=true
		}
	}
	
if(space && !mySwitch){
	mySwitch=true
	}
else{
	mySwitch=false
	}
	
if(mySwitch || myform.elements[validateCounter].value==""){
	if(formBytes[myElement]!=null){
		alert(formBytes[myElement])
		mySwitch=true
		}
	else{alert("Please fill in this field as it is required.")}
		myform.elements[validateCounter].value=""
        myform.elements[validateCounter].focus()
        mySwitch=true
        }
else{mySwitch=false}
}






//SELECT / DROPDOWN MENUS///////////////////////////////////////////////////////////////////////////////

function validateSelect(){
mySwitch=false

if(myform.elements[validateCounter].selectedIndex==0){
	if(formBytes[myElement]!=null){
		alert(formBytes[myElement])
		}
	else{
		alert("Please make a selection from this dropdown menu as it is required.")
		}
	myform.elements[validateCounter].focus()
	mySwitch=true
	}
}






//RADIO BUTTONS//////////////////////////////////////////////////////////////////////////////////////

function validateRadio(){
mySwitch=false
counter=0

while(myform.elements[validateCounter+counter].name==myElement){
	if(myform.elements[validateCounter+counter].checked){
		mySwitch=true
		}
	counter++
	}

if(!mySwitch){
	if(formBytes[myElement]!=null){
		alert(formBytes[myElement])
		}
	else{
		alert("Please select one of the following options as it is required.")
		}
	myform.elements[validateCounter].focus()
	mySwitch=true
	}
else{
    validateCounter=validateCounter+(counter-1)
	mySwitch=false
    }
counter=0
}





//VALIDATE NUMBER////////////////////////////////////////////////////////////////////////////////////////////

function validateNumber(){
emptyField()
if(!mySwitch && isNaN(myform.elements[validateCounter].value)){
	alert("Please fill this field in using ONLY valid numerals.")
	myform.elements[validateCounter].value=""
	myform.elements[validateCounter].focus()
	mySwitch=true
	}
}




//VALIDATE NUMBER////////////////////////////////////////////////////////////////////////////////////////////

function validateNumLen(){
emptyField()
if(!mySwitch){validateNumber()}
if(!mySwitch){
	counter=2
	var num=""
	while(!isNaN(myform.elements[validateCounter].name.charAt(counter))){
		num=num+myform.elements[validateCounter].name.charAt(counter)
		counter=counter+1
		}
		
	num=parseInt(num)
	if(!charCount(num)){
		if(num==1){
			alert("This field requires " + num + " numeral to be valid.")
			}
		else{
			alert("This field requires " + num + " numerals to be valid.")
			}
		myform.elements[validateCounter].value=""
		myform.elements[validateCounter].focus()
		mySwitch=true
		}
	}
}






//COUNT THE CHARACTERS////////////////////////////////////////////////////////////////////////////////

function charCount(swap){
if(myform.elements[validateCounter].value.length==swap){
	return true
	}
}





//EMAIL//////////////////////////////////////////////////////////////////////////////////////////////

function validateEmail(){
emptyField()
if(!charCheck("@") && !mySwitch){
	alert("Certain characters required for a valid email address are missing in this field.")
	myform.elements[validateCounter].focus()
	myform.elements[validateCounter].value=""
	mySwitch=true
	}
else if(!charCheck(".") && !mySwitch){
	alert("Certain characters required for a valid email address are missing in this field.")
	myform.elements[validateCounter].focus()
	myform.elements[validateCounter].value=""
	mySwitch=true
	}
}




//VALIDATE SPECIFIC CHARACTERS///////////////////////////////////////////////////////////////////

function charCheck(swap){
formTemp=myform.elements[validateCounter].value

for(var i=0;i<formTemp.length;i++){
	if(formTemp.charAt(i)==swap){
		return true
		}
	}
}




//////
//validate function
//////////

function noEntry() {
mt=document.contact.eventType.value;
if ((mt.length<1)||(mt.substring(0,6)=="******")) {
alert("You must include your event type");
document.contact.eventType.value="Complete This Entry";
document.contact.eventType.focus();
return false;
}
else { return true; }
}

//////
//validate function register
//////////

function noEntryR() {
mt=document.register.storelocation.value;
if ((mt.length<1)||(mt.substring(0,6)=="******")) {
alert("You must include a store location");
document.register.storelocation.value="Complete This Entry";
document.register.storelocation.focus();
return false;
}
else { return true; }
}

/////////////
//reset function
////////

function resetform(){
	document.contact.reset()
}

////////////


///////////////
//open window function
///////////////

var isClicked=0
var newWindow=null
function openWindow(swap1,swap2)
{
if((isClicked>0)&&(newWindow.closed==false))
        {
        newWindow.close();
        }
newWindow=window.open(swap1,'',swap2);
isClicked++
}
function closeWindow()
{
if(newWindow)
        {
        newWindow.close()
        }
}



//copyright function

function Copyright()
{	
	temp=""
	temp+="<span class='smalltext'>Copyright &#169 2008 - 2009 The Castaways Band - All Rights Reserved.</span><BR><BR>"
	document.write(temp)
}

///////////



//MODIFY ACCORDINGLY FOR WEBSPEED

// An adaptation of Dorcht's function for setting a cookie.
function setCookie(name, value, expires, path, domain, secure) {
  document.cookie = name + "=" + escape(value) + 
  ((expires == null) ? "" : "; expires=" + expires.toGMTString()) +
  ((path == null) ? "" : "; path=" + path) +
  ((domain == null) ? "" : "; domain=" + domain) +
  ((secure == null) ? "" : "; secure");
}

// An adaptation of Dorcht's function for deleting a cookie.
function delCookie (name,path,domain) {
  if (getCookie(name)) {
    document.cookie = name + "=" +
    ((path == null) ? "" : "; path=" + path) +
    ((domain == null) ? "" : "; domain=" + domain) +
    "; expires=Thu, 01-Jan-70 00:00:01 GMT";
  }
}

// popup window script
var isClicked=0
var newWindow=null

function openWindow2()
{
if((isClicked>0)&&(newWindow.closed==false))
	{
	newWindow.close();
	}
newWindow=window.open('difference.html','','width=600,height=400,top=25,left=150,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=yes');
isClicked++
}


function closeWindow2()
{
if(newWindow)
	{
	newWindow.close()
	}
}

///////////////////
//rollover script
//////////////////

//ALL ROLLOVERS REQUIRE A NAMING PROTOCOL SUFFIXING IMAGE NAMES WITH "_ON" AND "_OFF"///////////////

function rollOn(number,type){
document[number].src="images/"+number+"_on."+type
}

function rollOff(number,type){
document[number].src="images/"+number+"_off."+type
}


var preload = new Array("home_nav_about","home_nav_attorneys","home_nav_areas","home_nav_news","home_nav_community","home_nav_contact")
var jpgpreload = new Array() 
var gifpreload = new Array() 

for(var a=0;a<preload.length;a++){
	gifpreload[a] = new Image() 
	gifpreload[a].src = 'images/' + preload[a] + '_on.jpg'

	jpgpreload[a] = new Image() 
	jpgpreload[a].src = 'images/' + preload[a] + '_on.jpg'	
	}
	
////////////////////////////////////


function MakeArray(n) {
    this.length = n;
    for(var i=0;i<=n;i++)
        this[i] = 0;
    return this;
}

browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
chosen = 'tool0';
urllist = new MakeArray(7);
urllist[1] = 'about_us.html';
urllist[2] = 'attorneys.html';
urllist[3] = 'practice.html';
urllist[4] = 'trials.html';
urllist[5] = 'links.asp';
urllist[6] = 'contact.html';

if (browserName == "Netscape" && browserVer >= 3) {
        version = "n3";
} else {
        version = "n2";
}
if (browserName == "Microsoft Internet Explorer" && browserVer >= 3) {
        version = "n3";
}

if(version == "n3") {
        tool1on = new Image();
        tool1off = new Image();
        tool1hi = new Image();
        tool1on.src = "./images/menu_about_on.gif";
        tool1off.src = "./images/menu_about_off.gif";
        tool1hi.src = "./images/menu_about_on.gif";

        tool2on = new Image();
        tool2off = new Image();
        tool2hi = new Image();
        tool2on.src = "./images/menu_attorneys_on.gif";
        tool2off.src = "./images/menu_attorneys_off.gif";
        tool2hi.src = "./images/menu_attorneys_on.gif";

        tool3on = new Image();
        tool3off = new Image();
        tool3hi = new Image();
        tool3on.src = "./images/menu_practice_on.gif";
        tool3off.src = "./images/menu_practice_off.gif";
        tool3hi.src = "./images/menu_practice_on.gif";
        
        tool4on = new Image();
        tool4off = new Image();
        tool4hi = new Image();
        tool4on.src = "./images/menu_trials_on.gif";
        tool4off.src = "./images/menu_trials_off.gif";
        tool4hi.src = "./images/menu_trials_on.gif";
       
        tool5on = new Image();
        tool5off = new Image();
        tool5hi = new Image();
        tool5on.src = "./images/menu_links_on.gif";
        tool5off.src = "./images/menu_links_off.gif";
        tool5hi.src = "./images/menu_links_on.gif";
        
        tool6on = new Image();
        tool6off = new Image();
        tool6hi = new Image();
        tool6on.src = "./images/menu_contact_on.gif";
        tool6off.src = "./images/menu_contact_off.gif";
        tool6hi.src = "./images/menu_contact_on.gif";

}

function img_act(imgName) {
		imgName="tool"+imgName
        if(version =="n3") {
                imgOn = eval(imgName + "on.src");
                document [imgName].src = imgOn;
        }
}

function img_inact(imgName) {alert(imgName)
        if(version=="n3") {
                imgOff = eval(imgName + "off.src");
                document [imgName].src = imgOff;
        }
}

function refresh(selected) {
	selected="tool"+selected
	if(chosen != selected) {
          for(var i=1;i<=6;i++) {
                        img_inact("tool" + i);
                }
                img_act(selected);
                chosen = selected;
        }
}

function redraw(selected) {
	selected="tool"+selected
        img_inact('tool0');
        img_act(selected);
        chosen = selected;
}

function highlight(imgName) {
	imgName="tool"+imgName
        if(chosen != imgName) {
                if(version=="n3") {
                        imgHi = eval(imgName + "hi.src");
                        document [imgName].src = imgHi;
                }
        }
}

function unhighlight(imgName) {
	imgName="tool"+imgName
        if(chosen != imgName) {
                if(version=="n3") {
                        imgOff = eval(imgName + "off.src");
                        document [imgName].src = imgOff;
                }
        }

}

///////////////////////////////

//+++++++++++++++++++++++++
// function for bottom text menu and copyright
//+++++++++++++++++++++++++

function HomeBottomMenu()
{	
	temp=""
	temp+="<TABLE width='98%' cellpadding='0' cellspacing='0' border='0'><TR><TD valign='top' colspan='2' align='center'><A class='btlinks' HREF='sitemap.asp'>&nbsp;site map&nbsp;|</A>&nbsp;<A class='btlinks' HREF='about.asp'>&nbsp;|&nbsp;about us&nbsp;|</A>&nbsp;<A class='btlinks' HREF='attorneys.asp'>&nbsp;|&nbsp;attorneys&nbsp;|&nbsp;</A>&nbsp;<A class='btlinks' HREF='practiceareas.asp'>&nbsp;|&nbsp;practice areas&nbsp;|&nbsp;</A>&nbsp;<A class='btlinks' HREF='workerscomp.asp'>&nbsp;|&nbsp;workers' compensation&nbsp;|&nbsp;</A>&nbsp;<A class='btlinks' HREF='news.asp'>&nbsp;|&nbsp;news & our cases&nbsp;|&nbsp;</A>&nbsp;<A class='btlinks' HREF='community.asp'>&nbsp;|&nbsp;community resources&nbsp;|&nbsp;</A>&nbsp;<A class='btlinks' HREF='contact.asp'>&nbsp;|&nbsp;contact us&nbsp;|&nbsp;</A>&nbsp;<A class='btlinks' HREF='links.asp'>&nbsp;|&nbsp;links&nbsp;</A><BR><BR></TD></TR></TABLE>"
		document.write(temp)
}

function HomeBottomMenu2()
{	
	temp=""
	temp+="<TABLE width='98%' cellpadding='0' cellspacing='0' border='0'><TR><TD valign='top' colspan='2' align='center'><BR><span class='btlink'><SMALL>Copyright &#169; 2004 Rinaldi Jewelry - All Rights Reserved</SMALL></span></TD></TR></TABLE>"
		document.write(temp)
}


function BottomMenu()
{	
	temp=""
	temp+="<TABLE width='98%' cellpadding='0' cellspacing='0' border='0'><TR><TD valign='top' colspan='2' align='center'><A class='btlinks' HREF='about.asp'>&nbsp;about us&nbsp;</A>&nbsp;&nbsp;&nbsp;<A class='btlinks' HREF='services.asp'>&nbsp;services&nbsp;</A>&nbsp;&nbsp;&nbsp;<A class='btlinks' HREF='jewelry.asp'>&nbsp;our jewelry&nbsp;</A>&nbsp;&nbsp;&nbsp;<A class='btlinks' HREF='faq.asp'>&nbsp;faq's&nbsp;</A>&nbsp;&nbsp;&nbsp;<A class='btlinks' HREF='contact.asp'>&nbsp;contact us&nbsp;</A>&nbsp;&nbsp;&nbsp;<A class='btlinks' HREF='index.asp'>&nbsp;home&nbsp;</A><BR><BR><span class='btlink'><SMALL>Copyright &#169; 2004 Rinaldi Jewelry - All Rights Reserved</SMALL></span></TD></TR></TABLE>"
		document.write(temp)
}

///////////////////////////////

function InsideNav()
{	
	temp=""
	temp+="<td valign='top'><img src='images/nav_spacer1.gif' border='0'></td><td valign='top'><A HREF='about.asp' onMouseOver='rollOn(\"nav_aboutus\",\"gif\")' onMouseOut='rollOff(\"nav_aboutus\",\"gif\")'><img src='images/nav_aboutus_off.gif' border='0' name='nav_aboutus'></a></td><td valign='top'><A HREF='services.asp' onMouseOver='rollOn(\"nav_services\",\"gif\")' onMouseOut='rollOff(\"nav_services\",\"gif\")'><img src='images/nav_services_off.gif' border='0' name='nav_services'></a></td><td valign='top'><A HREF='jewelry.asp' onMouseOver='rollOn(\"nav_ourjewelry\",\"gif\")' onMouseOut='rollOff(\"nav_ourjewelry\",\"gif\")'><img src='images/nav_ourjewelry_off.gif' border='0' name='nav_ourjewelry'></a></td><td valign='top'><A HREF='faq.asp' onMouseOver='rollOn(\"nav_faqs\",\"gif\")' onMouseOut='rollOff(\"nav_faqs\",\"gif\")'><img src='images/nav_faqs_off.gif' border='0' name='nav_faqs'></a></td><td valign='top'><A HREF='contact.asp' onMouseOver='rollOn(\"nav_contactus\",\"gif\")' onMouseOut='rollOff(\"nav_contactus\",\"gif\")'><img src='images/nav_contactus_off.gif' border='0' name='nav_contactus'></a></td><td valign='top'><img src='images/nav_spacer2.gif' border='0'></td>"
		document.write(temp)
}

///////////////////////////////


function NavAboutUs()
{	
	temp=""
	temp+="<img src='images/header_aboutus.gif' border='0'><br><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' bgcolor='#000000' ALIGN='center'><TR><td align='left' valign='top' class='whitetext' width='12' height='18'><img src='images/arrow.gif'></td><td><A class='whitetext' HREF='about.asp'>who we are</a></td></tr></table><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' bgcolor='#000000' ALIGN='center'><TR><td align='left' valign='top' class='whitetext' width='12' height='18'><img src='images/arrow.gif'></td><td><A class='whitetext' HREF='about_history.asp'>company history</a></td></tr></table><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td><img src='images/inside_address.gif'></td></tr></table><table width='161' height='18' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table>"
		document.write(temp)
}

///////////////////////////////


function NavServices()
{	
	temp=""
	temp+="<img src='images/header_services.gif' border='0'><br><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' bgcolor='#000000' ALIGN='center'><TR><td align='left' valign='top' class='whitetext' width='12' height='18'><img src='images/arrow.gif'></td><td><A class='whitetext' HREF='services_design.asp'>design</a></td></tr></table><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' bgcolor='#000000' ALIGN='center'><TR><td align='left' valign='top' class='whitetext' width='12' height='18'><img src='images/arrow.gif'></td><td><A class='whitetext' HREF='services_repair.asp'>repair</a></td></tr></table><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' bgcolor='#000000' ALIGN='center'><TR><td align='left' valign='top' class='whitetext' width='12' height='18'><img src='images/arrow.gif'></td><td><A class='whitetext' HREF='services_cleaning.asp'>cleaning</a></td></tr></table><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' bgcolor='#000000' ALIGN='center'><TR><td align='left' valign='top' class='whitetext' width='12' height='18'><img src='images/arrow.gif'></td><td><A class='whitetext' HREF='services_diamond.asp'>how to chose a diamond</a></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td><img src='images/inside_address.gif'></td></tr></table><table width='161' height='18' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table>"
		document.write(temp)
}

///////////////////////////////


function NavJewelry()
{	
	temp=""
	temp+="<img src='images/header_ourjewelry.gif' border='0'><br><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' bgcolor='#000000' ALIGN='center'><TR><td align='left' valign='top' class='whitetext' width='12' height='18'><img src='images/arrow.gif'></td><td><A class='whitetext' HREF='jewelry_rings.asp'>rings</a></td></tr></table><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' bgcolor='#000000' ALIGN='center'><TR><td align='left' valign='top' class='whitetext' width='12' height='18'><img src='images/arrow.gif'></td><td><A class='whitetext' HREF='jewelry_watches.asp'>watches</a></td></tr></table><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' bgcolor='#000000' ALIGN='center'><TR><td align='left' valign='top' class='whitetext' width='12' height='18'><img src='images/arrow.gif'></td><td><A class='whitetext' HREF='jewelry_other.asp'>other</a></td></tr></table><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' bgcolor='#000000' ALIGN='center'><TR><td align='left' valign='top' class='whitetext' width='12' height='18'><img src='images/arrow.gif'></td><td><A class='whitetext' HREF='jewelry_whatshot.asp'>what's hot</a></td></tr></table><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' bgcolor='#000000' ALIGN='center'><TR><td align='left' valign='top' class='whitetext' width='12' height='18'><img src='images/arrow.gif'></td><td><A class='whitetext' HREF='jewelry_suppliers.asp'>our suppliers</a></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td><img src='images/inside_address.gif'></td></tr></table><table width='161' height='18' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table>"
		document.write(temp)
}
///////////////////////////////


function NavFaq()
{	
	temp=""
	temp+="<img src='images/header_faqs.gif' border='0'><br><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td><img src='images/inside_address.gif'></td></tr></table><table width='161' height='18' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table>"
		document.write(temp)
}

function NavFaq2()
{	
	temp=""
	temp+="<img src='images/header_services.gif' border='0'><br><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td><img src='images/inside_address.gif'></td></tr></table><table width='161' height='18' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table>"
		document.write(temp)
}

function NavFaq3()
{	
	temp=""
	temp+="<img src='images/header_ourjewelry.gif' border='0'><br><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td><img src='images/inside_address.gif'></td></tr></table><table width='161' height='18' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table>"
		document.write(temp)
}

///////////////////////////////


function NavContactUs()
{	
	temp=""
	temp+="<img src='images/header_contactus.gif' border='0'><br><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' bgcolor='#000000' ALIGN='center'><TR><td align='left' valign='top' class='whitetext' width='12' height='18'><img src='images/arrow.gif'></td><td><A class='whitetext' HREF='contact_onlineform.asp'>on-line form</a></td></tr></table><table width='161' height='6' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table><table width='161' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td><img src='images/inside_address.gif'></td></tr></table><table width='161' height='18' border='0' cellspacing='0' cellpadding='0' ALIGN='center'><TR><td></td></tr></table>"
		document.write(temp)
}

///////////////////////////////