	/***********************************************
	* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
	* This notice MUST stay intact for legal use
	* Visit http://www.dynamicdrive.com/ for full source code
	***********************************************/
	
	//Contents for menuFAQ
	var menuFAQ=new Array()
	menuFAQ[0]='<a href="CADO-FAQ1.php">Procedure Questions<\/a>'
	menuFAQ[1]='<a href="CADO-FAQ2.php">Experience Questions<\/a>'
	menuFAQ[2]='<a href="CADO-FAQ3.php">Drawing Questions<\/a>'
	menuFAQ[3]='<a href="CADO-FAQ4.php">Payment Questions<\/a>'
	
	//Contents for menuABOUT
	var menuABOUT=new Array()
	menuABOUT[0]='<a href="CADO-Who.php">Who We Are<\/a>'
	menuABOUT[1]='<a href="CADO-TeamMembers.php">Team Members<\/a>'
	menuABOUT[2]='<a href="CADO-Resource.php">Resource Information<\/a>'
	
	//Contents for menuCONTACT
	var menuCONTACT=new Array()
	menuCONTACT[0]='<a href="CADO-Billing.php">Billing and Payment<\/a>'
	menuCONTACT[1]='<a href="CADO-Office.php">Office Location<\/a>'
	menuCONTACT[2]='<a href="CADO-Email.php">Email<\/a>'
	menuCONTACT[3]='<a href="CADO-ContactUs.php">Send Message<\/a>'
	
	//Contents for menuTERMS
	var menuTERMS=new Array()
	menuTERMS[0]='<a href="CADO-Policies.php">Our Policies<\/a>'
	menuTERMS[1]='<a href="CADO-Terms.php">Terms & Conditions<\/a>'
	
	
	var menuwidth='200px' //default menu width
	var menubgcolor='#f0ebd7'  //menu bgcolor
	var disappeardelay=200  //menu disappear speed onMouseout (in miliseconds)
	var hidemenu_onclick="yes" //hide menu when user clicks within menu?
	
	/////No further editting needed
	
	var ie4=document.all
	var ns6=document.getElementById&&!document.all
	
	if (ie4||ns6)
	document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"><\/div>')
	
	function getposOffset(what, offsettype){
	var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
	var parentEl=what.offsetParent;
	while (parentEl!=null){
	totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
	parentEl=parentEl.offsetParent;
	}
	return totaloffset;
	}
	
	
	function showhide(obj, e, visible, hidden, menuwidth){
	if (ie4||ns6)
	dropmenuobj.style.left=dropmenuobj.style.top="-500px"
	if (menuwidth!=""){
	dropmenuobj.widthobj=dropmenuobj.style
	dropmenuobj.widthobj.width=menuwidth
	}
	if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
	obj.visibility=visible
	else if (e.type=="click")
	obj.visibility=hidden
	}
	
	function iecompattest(){
	return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
	}
	
	function clearbrowseredge(obj, whichedge){
	var edgeoffset=0
	if (whichedge=="rightedge"){
	var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
	dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
	if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
	edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
	}
	else{
	var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
	var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
	dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
	if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
	edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
	if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
	edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
	}
	}
	return edgeoffset
	}
	
	function populatemenu(what){
	if (ie4||ns6)
	dropmenuobj.innerHTML=what.join("")
	}
	
	
	function dropdownmenu(obj, e, menucontents, menuwidth){
	if (window.event) event.cancelBubble=true
	else if (e.stopPropagation) e.stopPropagation()
	clearhidemenu()
	dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
	populatemenu(menucontents)
	
	if (ie4||ns6){
	showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
	dropmenuobj.x=getposOffset(obj, "left")
	dropmenuobj.y=getposOffset(obj, "top")
	dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
	dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
	}
	
	return clickreturnvalue()
	}
	
	function clickreturnvalue(){
	if (ie4||ns6) return false
	else return true
	}
	
	function contains_ns6(a, b) {
	while (b.parentNode)
	if ((b = b.parentNode) == a)
	return true;
	return false;
	}
	
	function dynamichide(e){
	if (ie4&&!dropmenuobj.contains(e.toElement))
	delayhidemenu()
	else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
	delayhidemenu()
	}
	
	function hidemenu(e){
	if (typeof dropmenuobj!="undefined"){
	if (ie4||ns6)
	dropmenuobj.style.visibility="hidden"
	}
	}
	
	function delayhidemenu(){
	if (ie4||ns6)
	delayhide=setTimeout("hidemenu()",disappeardelay)
	}
	
	function clearhidemenu(){
	if (typeof delayhide!="undefined")
	clearTimeout(delayhide)
	}
	
	if (hidemenu_onclick=="yes")
	document.onclick=hidemenu
	/***********************************************
	* Return Lock
	***********************************************/

	var message="Function Disabled.  This site is the property of CADOperators.com, LLC, considered proprietary and protected by copyright laws.  Information shall not be copied or reproduced in any way, except by written permission of CADOperators.com, LLC. Please feel free to contact WebMaster to request information for non-profit use free of charge.";

	function click(e)
	{
		if (document.all)
		{
			if (event.button==2||event.button==3)
			{
				alert(message);
				return false;
			}
		}
		if (document.layers)
		{
			if (e.which == 3)
			{
				alert(message);
				return false;
			}
		}
	}

	if (document.layers)
	{
		document.captureEvents(Event.MOUSEDOWN);
	}

	document.onmousedown=click;



	/***************************************************
	Document crosshair Script-
	By Dynamic Drive (www.dynamicdrive.com)
	For full source code, installation instructions,
	100's more free DHTML scripts, and Terms Of
	Use, visit dynamicdrive.com
	****************************************************/

/*	if (document.all&&!window.print)
	{
		leftright.style.width=document.body.clientWidth-2
		topdown.style.height=document.body.clientHeight-2
	}
	else if (document.layers)
	{
		document.leftright.clip.width=window.innerWidth
		document.leftright.clip.height=1
		document.topdown.clip.width=1
		document.topdown.clip.height=window.innerHeight
	}

	function followmouse1()
	{
		//move cross engine for IE 4+
		leftright.style.pixelTop=document.body.scrollTop+event.clientY+1
		boxl.style.pixelTop=document.body.scrollTop+event.clientY-3
		boxl.style.pixelLeft=event.clientX-5

		boxr.style.pixelLeft=event.clientX+6
		boxr.style.pixelTop=document.body.scrollTop+event.clientY-3

		boxt.style.pixelTop=document.body.scrollTop+event.clientY+7
		boxt.style.pixelLeft=document.body.scrollLeft+event.clientX-5

		boxb.style.pixelLeft=document.body.scrollLeft+event.clientX-5
		boxb.style.pixelTop=document.body.scrollTop+event.clientY-5
		topdown.style.pixelTop=document.body.scrollTop
		if (event.clientX<document.body.clientWidth-2)
		topdown.style.pixelLeft=document.body.scrollLeft+event.clientX+1
		else
		topdown.style.pixelLeft=document.body.clientWidth-2
	}

	function followmouse2(e)
	{
		//move cross engine for NS 4+
		document.leftright.top=e.y+1;
		document.topdown.top=pageYOffset;
		document.topdown.left=e.x+1;
	}

	if (document.all)
	{
		document.onmousemove=followmouse1;
	}
	else if (document.layers)
	{
		window.captureEvents(Event.MOUSEMOVE);
		window.onmousemove=followmouse2;
	}

	function regenerate()
	{
		window.location.reload()
	}

	function regenerate2()
	{
		setTimeout("window.onresize=regenerate",400)
	}
	if ((document.all&&!window.print)||document.layers)
	{
		//if the user is using IE 4 or NS 4, both NOT IE 5+
		window.onload=regenerate2
	}
*/
	var currentlefttab = "lefttabs1";
	var currentrighttab = "righttabs1";
	var	waitforresizetillmovesright = 0;
	var prexcoord = 0;

	function doNuhn() {}

	function getRefToDiv(divID,oDoc)
	{
		if( document.getElementById ) { return document.getElementById(divID); }
		if( document.all ) { return document.all[divID]; }
		if( !oDoc ) { oDoc = document; }
		if( document.layers )
		{
			if( oDoc.layers[divID] )
			{
				return oDoc.layers[divID];
			}
			else
			{
				for( var x = 0, y; !y && x < oDoc.layers.length; x++ )
				{
					y = getRefToDiv(divID,oDoc.layers[x].document);
				}
				return y;
			}
		}
		return false;
	}

	function showLTab(tabID_as_a_string)
	{
	  //get a reference as above ...
	  tab = getRefToDiv(tabID_as_a_string);
	  currenttab = getRefToDiv(currentlefttab);
	  textwidth = getRefToDiv("lefttabstextContainer");
	  tabtext = getRefToDiv(tabID_as_a_string+"text");
	  currenttabtext = getRefToDiv(currentlefttab+"text");
	  if( !tab )
	  {
		window.alert('Nothing works in this browser');
		return; //don't go any further
	  }
	  //now we have a reference to it
	  if( tab.style )
	  {
		//DOM & proprietary DOM
		currenttab.style.visibility ='hidden';
		tab.style.visibility = 'visible';
		currenttabtext.style.visibility ='hidden';
	   tabtext.style.visibility = 'visible';
		currentlefttab = tabID_as_a_string;
	  }
	  else
	  {
		//layers syntax
		currenttab.style.visibility ='hide';
		tab.style.visibility = 'show';
		currenttabtext.style.visibility ='hide';
		tabtext.style.visibility = 'show';
		currentlefttab = tabID_as_a_string;
	  }
	}

	function showRTab(tabID_as_a_string)
	{
	  //get a reference as above ...
	  tab = getRefToDiv(tabID_as_a_string);
	  currenttab = getRefToDiv(currentrighttab);
	  textwidth = getRefToDiv("righttabstextContainer");
	  tabtext = getRefToDiv(tabID_as_a_string+"text");
	  currenttabtext = getRefToDiv(currentrighttab+"text");
	  if( !tab )
	  {
		window.alert('Nothing works in this browser');
		return; //don't go any further
	  }
	  //now we have a reference to it
	  if( tab.style )
	  {
		//DOM & proprietary DOM
		currenttab.style.visibility ='hidden'
		tab.style.visibility = 'visible';
		currenttabtext.style.visibility ='hidden'
		tabtext.style.visibility = 'visible'
		currentrighttab = tabID_as_a_string
	  }
	  else
	  {
		//layers syntax
		currenttab.style.visibility ='hide'
		tab.style.visibility = 'show';
		currenttabtext.style.visibility ='hide'
		tabtext.style.visibility = 'show'
		currentrighttab = tabID_as_a_string
	  }
	}

	if( document.captureEvents && Event.MOUSEMOVE )
	{
	  //remove this part if you do not need Netscape 4 to work
	  document.captureEvents( Event.MOUSEMOVE );
	}
	document.onmousemove = alertCoord;

	function alertCoord(e)
	{
	 if( !e )
	 {
		if( window.event )
		{
		  //Internet Explorer
		  e = window.event;
		}
		else
		{
		  //total failure, we have no way of referencing the event
		  return;
		}
	  }
	  if( typeof( e.pageX ) == 'number' )
	  {
		//most browsers
		var xcoord = e.pageX;
		var ycoord = e.pageY;
	  }
	  else if( typeof( e.clientX ) == 'number' )
	  {
		//Internet Explorer and older browsers
		//other browsers provide this, but follow the pageX/Y branch
		var xcoord = e.clientX;
		var ycoord = e.clientY;
		var badOldBrowser = ( window.navigator.userAgent.indexOf( 'Opera' ) + 1 ) ||
		 ( window.ScriptEngine && ScriptEngine().indexOf( 'InScript' ) + 1 ) ||
		 ( navigator.vendor == 'KDE' )
		if( !badOldBrowser )
		{
		  if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) )
		  {
			//IE 4, 5 & 6 (in non-standards compliant mode)
			xcoord += document.body.scrollLeft;
			ycoord += document.body.scrollTop;
		  } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) )
		  {
			//IE 6 (in standards compliant mode)
			xcoord += document.documentElement.scrollLeft;
			ycoord += document.documentElement.scrollTop;
		  }
		}
	  } else
	  {
		//total failure, we have no way of obtaining the mouse coordinates
		return;
	  }

	if (parseInt(navigator.appVersion)>3)
	{
	 if (navigator.appName=="Netscape")
	 {
	  winWidth = window.innerWidth;
	 }
	 if (navigator.appName.indexOf("Microsoft")!=-1)
	 {
	  winWidth = document.body.offsetWidth;
	 }
	}


	  textwidthL = getRefToDiv("leftP");
	  textwidthR = getRefToDiv("righttabstextContainer");
rightspacer = getRefToDiv("righttabsspacer");
leftspacer = getRefToDiv("lefttabsspacer");


    {
	  Ledge = ((730+winWidth)*parseInt(textwidthL.style.width.substring(0, textwidthL.style.width.length-1),10))/100;
	  if(Ledge==0)
	  
	  {
	  	Ledge=45;
	  }
	  Redge = ((630+winWidth)*parseInt(textwidthR.style.width.substring(0, textwidthR.style.width.length-1),10))/100;
	  if(Redge==0)
	  {
	  	Redge=62;
	  }

	  if((xcoord<Ledge)&&(textwidthL.style.width == "0%"))
	  {
		textwidthL.style.width = "18%";
		currenttab = getRefToDiv(currentlefttab+"text");
		currenttab.style.visibility = "visible";
		leftspacer.style.width = "0%";
	  }
	  if(xcoord>Ledge && xcoord<(winWidth-Redge))
	  
	  {
		//if mouses prev position was to the left and waitforresizetillmovesright = 1;
		//then then set to 0 and set prexcoord to current
		//else if pre pos was to right and waitfor.... then dont do below set new prexcoord

					//moved left so hide right panel
					currenttabR = getRefToDiv(currentrighttab+"text");
					textwidthR.style.width = "0%";
					rightspacer.style.width = "13%";
					leftspacer.style.width = "18%";
					currenttabR.style.visibility = "hidden";
					//moved right so hide left panel
					currenttabL = getRefToDiv(currentlefttab+"text");
					textwidthL.style.width = "0%";
					currenttabL.style.visibility = "hidden";

	  }
	  if((xcoord>(winWidth-Redge))&&(textwidthR.style.width == "0%"))
	  {

		currenttab = getRefToDiv(currentrighttab+"text");
		textwidthR.style.width = "13%";
		rightspacer.style.width = "0%";
		currenttab.style.visibility = "visible"

	  }
    }

	followmouse1(e);
	}

