


///////////////
//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()
        }
}


//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 script11
//////////////////

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("menu_wholesale","menu_catalog","menu_aboutus","menu_services","menu_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.gif'

	jpgpreload[a] = new Image() 
	jpgpreload[a].src = 'images/' + preload[a] + '_on.jpg'	
	}
	



///////////////////
//rollover script22
//////////////////

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 = 'too6';
urllist = new MakeArray(7);
urllist[1] = 'wholesale.html';
urllist[2] = 'catalog.html';
urllist[3] = 'aboutus.html';
urllist[4] = 'services.html';
urllist[5] = '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_wholesale_on.gif";
        tool1off.src = "./images/menu_wholesale_off.gif";
        tool1hi.src = "./images/menu_wholesale_on.gif";

        tool2on = new Image();
        tool2off = new Image();
        tool2hi = new Image();
        tool2on.src = "./images/menu_catalog_on.gif";
        tool2off.src = "./images/menu_catalog_off.gif";
        tool2hi.src = "./images/menu_catalog_on.gif";
        
        tool3on = new Image();
        tool3off = new Image();
        tool3hi = new Image();
        tool3on.src = "./images/menu_aboutus_on.gif";
        tool3off.src = "./images/menu_aboutus_off.gif";
        tool3hi.src = "./images/menu_aboutus_on.gif";
       
        tool4on = new Image();
        tool4off = new Image();
        tool4hi = new Image();
        tool4on.src = "./images/menu_services_on.gif";
        tool4off.src = "./images/menu_services_off.gif";
        tool4hi.src = "./images/menu_services_on.gif";
        
        tool5on = new Image();
        tool5off = new Image();
        tool5hi = new Image();
        tool5on.src = "./images/menu_contact_on.gif";
        tool5off.src = "./images/menu_contact_off.gif";
        tool5hi.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;
                }
        }

}

///////////////////

//+++++++++++++++++++++++++
// include function for inside rollover scripting
//+++++++++++++++++++++++++

function InsideMenu()
{	
	temp=""
	temp+="<TABLE cellpadding='0' cellspacing='0' border='0'><TR><TD valign='top'><IMG width='339' height='23' SRC='./images/inside_top_menuleft.gif' border='0'></TD><TD valign='top'><A HREF='wholesale.html' onMouseOver='rollOn(\"menu_wholesale\",\"gif\")' onMouseOut='rollOff(\"menu_wholesale\",\"gif\")'><IMG width='80' height='23' SRC='./images/menu_wholesale_off.gif' border='0' name='menu_wholesale'></a></TD><TD valign='top'><A HREF='catalog.asp' onMouseOver='rollOn(\"menu_catalog\",\"gif\")' onMouseOut='rollOff(\"menu_catalog\",\"gif\")'><IMG width='85' height='23' SRC='./images/menu_catalog_off.gif' border='0' name='menu_catalog'></a></TD><TD valign='top'><A HREF='about_us.html' onMouseOver='rollOn(\"menu_aboutus\",\"gif\")' onMouseOut='rollOff(\"menu_aboutus\",\"gif\")'><IMG width='84' height='23' SRC='./images/menu_aboutus_off.gif' border='0' name='menu_aboutus'></a></TD><TD valign='top'><A HREF='services.html' onMouseOver='rollOn(\"menu_services\",\"gif\")' onMouseOut='rollOff(\"menu_services\",\"gif\")'><IMG width='83' height='23' SRC='./images/menu_services_off.gif' border='0' name='menu_services'></a></TD><TD valign='top'><A HREF='contact_us.html' onMouseOver='rollOn(\"menu_contact\",\"gif\")' onMouseOut='rollOff(\"menu_contact\",\"gif\")'><IMG width='80' height='23' SRC='./images/menu_contact_off.gif' border='0' name='menu_contact'></a></TD></TR></TABLE>"
	document.write(temp)
}

///////////////////////////////

//+++++++++++++++++++++++++
// include function for bottom text menu and copyright
//+++++++++++++++++++++++++

function BottomMenu()
{	
	temp=""
	temp+="<span class='maintext2'><br><i>\"YOUR COMPLIANCE IS OUR GOAL\"</i></span><TABLE width='98%' cellpadding='0' cellspacing='0' border='0'><TR><TD valign='top' align='center'><HR class='hr' width='100%'></td></TR><TR><TD valign='top' align='center'><A class='btlinks' HREF='about.html'>About Us</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class='btlinks' HREF='team.html'>The Compliance Team</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class='btlinks' HREF='services.html'>Services</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class='btlinks' HREF='news.html'>News/Resources</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class='btlinks' HREF='contact.html'>Contact Us</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class='btlinks' HREF='index.html'>Home</A><BR><span class='btlink2'>Copyright &#169; 2005 CTI - All Rights Reserved<br><br></span></TD></TR></TABLE>"
		document.write(temp)
}

function IndexBottomMenu()
{	
	temp=""
	temp+="<TABLE width='98%' cellpadding='0' cellspacing='0' border='0'><TR><TD valign='top' align='center'><HR class='hr' width='54%'></td></TR><TR><TD valign='top' align='center'><A class='btlinks3' HREF='about.html'>About Us</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class='btlinks3' HREF='team.html'>The Compliance Team</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class='btlinks3' HREF='services.html'>Services</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class='btlinks3' HREF='news.html'>News/Resources</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class='btlinks3' HREF='contact.html'>Contact Us</A><BR><span class='btlink4'>Copyright &#169; 2005 CTI - All Rights Reserved<br><br></span></TD></TR></TABLE>"
		document.write(temp)
}

function AboutBottomMenu()
{	
	temp=""
	temp+="<TABLE width='98%' cellpadding='0' cellspacing='0' border='0'><TR><TD valign='top' align='center'><HR class='hr' width='100%'></td></TR><TR><TD valign='top' align='center'><A class='btlinks' HREF='about.html'>About Us</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class='btlinks' HREF='team.html'>The Compliance Team</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class='btlinks' HREF='services.html'>Services</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class='btlinks' HREF='news.html'>News/Resources</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class='btlinks' HREF='contact.html'>Contact Us</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class='btlinks' HREF='index.html'>Home</A><BR><span class='btlink2'>Copyright &#169; 2005 CTI - All Rights Reserved<br><br></span></TD></TR></TABLE>"
		document.write(temp)
}

///////////////////////////////

function WhiteLine()
{	
	temp=""
	temp+=
	"<TABLE width='190' cellpadding='0' cellspacing='0' border='0'><TR><td><img src='images/spacer.gif' border='0' width='5' height='2'></td></TR></TABLE>"
		document.write(temp)
}

function Address()
{	
	temp=""
	temp+=
	"<TABLE width='190' cellpadding='0' cellspacing='0' border='0'><TR><td class='titletext2'><span class='titletext3'><br>&#160;<br></span>&#160;4510 East 71st Street<span class='titletext3'><br>&#160;<br></span>&#160;Cleveland, Ohio 44105<span class='titletext3'><br>&#160;<br></span>&#160;TEL: 216.341.1800<span class='titletext3'><br>&#160;<br></span>&#160;FAX: 216.641.4610<span class='titletext3'><br><br>&nbsp;&nbsp;<A class='email' HREF='mailto:info@compliancetechnologies.biz'>info@compliancetechnologies.biz</A></span></td></TR></TABLE>"
		document.write(temp)
}

function AboutUs()
{	
	temp=""
	temp+="<TABLE width='190' cellpadding='0' cellspacing='0' border='0'><TR><td class='titletext2'><span class='titletext3'><br>&#160;<br></span><a href='about_ch.html' class='titletext2'>&#127;&#160;Company History</a><span class='titletext3'><br>&#160;<br></span><a href='about_a.html' class='titletext2'>&#127;&#160;Affiliations</a><span class='titletext3'><br>&#160;<br></span><a href='about_wuc.html' class='titletext2'>&#127;&#160;Why Use Compliance<br>&#160;&#160;&#160;&#160;Technologies, Inc.</a><span class='titletext3'><br><br><br><br><br><br><br><br><br></span></td></TR></TABLE>"
		document.write(temp)
}

function Team()
{	
	temp=""
	temp+="<TABLE width='190' cellpadding='0' cellspacing='0' border='0'><TR><td class='titletext2'><span class='titletext3'><br>&#160;<br></span><a href='team_prin.html' class='titletext2'>&#127;&#160;Principals</a><span class='titletext3'><br>&#127;&#160;<br></span><a href='team_prof.html' class='titletext2'>&#127;&#160;Professionals / Technical</a><span class='titletext3'><br>&#160;<br></span><a href='team_sales.html' class='titletext2'>&#127;&#160;Sales & Marketing</a><br><br><br><br></td></TR></TABLE>"
		document.write(temp)
}

function Services()
{	
	temp=""
	temp+="<TABLE width='190' cellpadding='0' cellspacing='0' border='0'><TR><td class='titletext2'><span class='titletext3'><br>&#160;<br></span><a href='services_ec.html' class='titletext2'>&#127;&#160;Environmental Compliance</a><span class='titletext3'><br>&#160;<br></span><a href='services_wm.html' class='titletext2'>&#127;&#160;Waste Management</a><span class='titletext3'><br>&#160;<br></span><a href='services_srs.html' class='titletext2'>&#127;&#160;Site Remediation</a><span class='titletext3'><br>&#160;<br></span><a href='services_tc.html' class='titletext2'>&#127;&#160;Employee Training</a><span class='titletext3'><br>&#160;<br></span><a href='services_pt.html' class='titletext2'>&#127;&#160;Property Transactions</a><span class='titletext3'><br>&#160;<br></span><a href='services_hasp.html' class='titletext2'>&#127;&#160;Health & Safety Program</a><span class='titletext3'><br>&#160;<br></span><a href='services_r.html' class='titletext2'>&#127;&#160;Compliance Reporting</a><span class='titletext3'><br>&#160;<br></span><a href='services_a.html' class='titletext2'>&#127;&#160;Asbestos Services</a></td></TR></TABLE>"
		document.write(temp)
}

function News()
{	
	temp=""
	temp+="<TABLE width='190' cellpadding='0' cellspacing='0' border='0'><TR><td class='titletext2'><span class='titletext3'><br>&#160;<br></span><a href='news_newsletter.asp' class='titletext2'>&#127;&#160;Newsletter</a><br><br><br><br><br><br><br></td></TR></TABLE>"
		document.write(temp)
}

function Contact()
{	
	temp=""
	temp+="<TABLE width='190' cellpadding='0' cellspacing='0' border='0'><TR><td class='titletext2'><span class='titletext3'><br>&#160;<br></span><a href='contact_if.html' class='titletext2'>&#127;&#160;Interactive Form</a><span class='titletext3'><br>&#160;<br></span><a href='contact_pg.html' class='titletext2'>&#127;&#160;Profile Generator</a><span class='titletext3'><br>&#160;<br></span><a href='contact_sr.html' class='titletext2'>&#127;&#160;Services Request</a><span class='titletext3'><br>&#160;<br></span><a href='contact_e.html' class='titletext2'>&#127;&#160;E-Mail</a><br><br><br><br><br><br></td></TR></TABLE>"
		document.write(temp)
}