/*	File		: jsDHTMLlib.js
**	Author		: Dr. Clue	( A.K.A. Ian A. Storms )
**	Description	: READ THIS Dr. Clue's
**		X-browser X-frame Div-Recursive DHTML library
**		copyright @1998,99,00,01,02,03 ... drclue/www.drclue.net License is
**		granted for this software, & components in support of personal, home pages.
**		All other rights reserved.
*/

oDC={maxTries:50,PIXELTUNE:0,READY:false,FRAMES:false,FRAMEpath:"top.",W3C:false,NS:false,IE:false,iZindex:0,tries:0,DC_nullChk:null,iIDauto:null,iScan:0,oMeasure:null,bInDebug:false,szReason:"None.",MXstart:"mousedown:mouseover",szEpath:null,iMcnt:-1,szDW:"",aRoot:[],szRoot:"./",aLibs:[]}
oDC.szSkip=":DIV:P:FORM:INPUT:TBODY:TR:CENTER:BR:"
oDC.szCopy		= ":clip:padding:paddingTop:paddingRight:paddingBottom:paddingLeft"
oDC.szCopy		+=":fontFamily:color:border"
oDC.szCopy		+=":backgroundAttachment:background:backgroundColor:backgroundImage:backgroundPositionX:backgroundPositionY:backgroundPosition:cssText:backgroundRepeat:"
oDC.szCopy		+=":marginTop:marginRight:marginBottom:marginLeft:position:left:top:"

var barg=false;

function DCready(){return oDC.READY}
function DCdebug(szD,bClear)
	{
	iW=5000;iH=700;
	if(!oDC.oDebug)
		{
		oCSS=DCgetCSSclass(self.document,"DCdebug")
		if(typeof oCSS.left=='undefined')oCSS={left:'500px',top:'0px',width:'5000px',height:'700px'}
		szCreate=(top.frames.length)?("top."+top.frames[0].name+".document.all.oDebug"):"oDebug"
		oDC.oDebug=DCcreate(szCreate,oCSS.left+'px',oCSS.top+'px',oCSS.width+'px',oCSS.height+'px',"#ffff00");
		DCsetContent(oDC.oDebug," ")
		DCsetZindex(oDC.debug,10)
		}
	oDC.bInDebug=true;
	if(bClear)oDC.szDW="";if(oDC.szDW.length)oDC.szDW+="\n"
	if(!szD.length){DCshow(oDC.oDebug,false);return ""}
	oDC.szDW+=szD;szO='<pre><font color="green">'+oDC.szDW+"</font></pre><br /><br />"
	oA=DCmeasure(szO);
	DCclip(oDC.oDebug,0,oA.WIDTH,oA.HEIGHT+100,0)
	DCshow(oDC.oDebug,true);DCsetContent(oDC.oDebug,szO);
	oDC.bInDebug=false;return "";}
function DCmeasure(szContent,szClass)
	{
	if(!szContent)szContent=""
	if(!oDC.oMeasure)
		{
		szCreate=(self.frames.length)?("self."+self.frames[0].name+".document.all.oMeasure"):"oMeasure"
		oDC.oMeasure=DCcreate(szCreate,0,0,1800,1800,"#ffffcc");
		DCshow(oDC.oMeasure,false);
		}
	if(typeof szClass!='undefined')DCcssApply(oDC.oMeasure,szClass)
	DCshow(oDC.oMeasure,false);
	szMC='<a name="oAMtop'+(++oDC.iMcnt)+'">&#160;</a><table cellpadding="0" cellspacing="0" border="0"><tr valign="top"><td>'+szContent+'</td><td><a name="oAMright'+oDC.iMcnt+'">&#160;</a></td></tr></table><a name="oAMbottom'+oDC.iMcnt+'">&#160;</a>'
	DCsetContent(oDC.oMeasure,szMC);
	oAMtop		=DCgetAnchorIn(oDC.oMeasure,'oAMtop'	+oDC.iMcnt)
	oAMright	=DCgetAnchorIn(oDC.oMeasure,'oAMright'	+oDC.iMcnt)
	oAMbottom	=DCgetAnchorIn(oDC.oMeasure,'oAMbottom'	+oDC.iMcnt)
	oAM		={WIDTH:oAMright.LEFT-oAMbottom.LEFT,HEIGHT:oAMbottom.TOP-oAMright.TOP}//new Object();
	return oAM;}
/* */
function DCcssApply(pL,szClass,oD)
	{
	oL=DCok(pL)
	if(typeof oD=='undefined')oD=DCgetParentWindow(pL).document;
	var oCSS	=DCgetCSSclass(oD,szClass)
	szSkipTypes	= ":function:undefined:"
	szSkipped	= ""
	var oV;

	for(i in oCSS)
		{
		if(String("0123456789").indexOf(i.substring(0,1))>-1)continue;
		oV=eval("oCSS."+i);
		oT=typeof oV;//eval("oCSS."+i);
		if(szSkipTypes.indexOf(oT)	>	0)	continue;
		if(oDC.szCopy.indexOf(":"+i+":")		==	-1)
			{		szSkipped+=i+"\n";	continue;}
		if(oV.indexOf("url(")>-1)oV=oV.split("'").join("").split("(").join("('").split(")").join("')")
		if(oV.indexOf("rgb(")>-1)oV=oV.split("'").join("").split("(").join("(").split(")").join(")")

//if(i=="top")alert(oV)

		szE='oL.style.'+i+'=oV'
		eval(szE)
		}// End For{}
	}
function DCcss2proper(szN)
	{
	if(!szN)szN="";aN=szN.split("-");for(x=1;x<aN.length;x++)
	aN[x]=aN[x].substring(0,1).toUpperCase()+String(aN[x]+"").substring(1)
	return aN.join("")
	}
function DCproper2css(szN)
	{
	szOut=""
	aSz=szN.split('')
	for(x=0;x<aSz.length;x++)
		{
		if(aSz[x]==aSz[x].toUpperCase())szOut+="-";
		szOut+=aSz[x].toLowerCase();
		}
	return szOut
	}
function DCinsertCSSclass(oD,szSelectorText,szSelectorCSS)
	{
	DCdeleteCSSclass(oD,szSelectorText)
	iStyleSheet=(typeof iStyleSheet!='undefined')?iStyleSheet:0
	if(typeof oD.styleSheets!="undefined")
		{
		oCSSrules=oD.styleSheets[iStyleSheet].cssRules;
		if(typeof oD.styleSheets[iStyleSheet].insertRule!='undefined')oD.styleSheets[iStyleSheet].insertRule(szSelectorText	+"{"+szSelectorCSS+"}"	,oCSSrules.length)	//NS-Firefox
		if(typeof oD.styleSheets[iStyleSheet].addRule	!='undefined')oD.styleSheets[iStyleSheet].addRule(szSelectorText	,"{"+szSelectorCSS+"}"	,oCSSrules.length)	//IE
		}
	}
function DCdeleteCSSclass(oD,szCSS,szLeadin)
	{
	if(typeof szLeadin=='undefined')szLeadin=".";
	oCSSrules	=null;
	if(typeof oD.styleSheets!="undefined")
	for(xx=oD.styleSheets.length-1;xx>=0;xx--)
		{
		if(typeof oD.styleSheets[xx].cssRules	!="undefined")oCSSrules=oD.styleSheets[xx].cssRules
		if(oCSSrules)
			for(yy=0;yy<oCSSrules.length;yy++)
			if(typeof (	oCSSrules.item(yy).selectorText			!="undefined"))
			if(		oCSSrules.item(yy).selectorText.toLowerCase()	==szLeadin+szCSS)
				{
				if(typeof oD.styleSheets[xx].deleteRule	!='undefined')oD.styleSheets[xx].deleteRule(yy)
				if(typeof oD.styleSheets[xx].removeRule	!='undefined')oD.styleSheets[xx].removeRule(yy)
				}
		}
	}
function DCgetCSSclass(oD,szCSS,szLeadin)
	{
	if(typeof szLeadin=='undefined')szLeadin=".";
	if(!szCSS)return 	{ DCerror:"null classname:"+szCSS}
	oCSSrules=null;
	if((typeof oD.styleSheets)!="undefined")
	for(xx=oD.styleSheets.length-1;xx>=0;xx--)
		{
		if(typeof oD.styleSheets[xx].cssRules	!="undefined")oCSSrules=oD.styleSheets[xx].cssRules

		if(oCSSrules)
			for(yy=0;yy<oCSSrules.length;yy++)
			if(typeof (	oCSSrules.item(yy).selectorText!="undefined"))
			if(		oCSSrules.item(yy).selectorText.toLowerCase()==szLeadin+szCSS.toLowerCase()){	return oCSSrules.item(yy).style}
		}
	if(typeof oD.classes !="undefined")if(typeof oD.classes[szCSS]!="undefined")return oD.classes[szCSS].all;

	if(typeof self.oDCfauxCSS!='undefined')
		{
		for(i in self.oDCfauxCSS)if(i == szCSS)
				{
				oCSSresult=eval("self.oDCfauxCSS."+i)
				return oCSSresult;
				}
		}
	oR={ DCerror:"class not found:"+szCSS}
	return oR;
	}
function DCpopWin(szWIN,szHREF,szOPTIONS)
	{var bDebug=true,szOptions="width="+(screen.width)+",height="+(screen.height-20)+",scrollbars=yes,resizable=yes,location="+((bDebug)?"yes":"no")+",status="+((bDebug)?"yes":"no")
	szHref='about:blank';
	if(DCpopWin.arguments.length>1)if(szHREF)szHref=szHREF;
	if(DCpopWin.arguments.length>2)szOptions=szOPTIONS;
	var obWIN=eval(szWIN+'=window.open("'+szHref+'","'+szWIN+'","'+szOptions+'")');
	obWIN.moveTo(0,0);if(obWIN)obWIN.focus();return obWIN}
function DCa2o(features,oObject,nocase)
	{
	if(!features)return new Object()
	aF=features.split(",")
	oP=(typeof oObject=='undefined')?(new Object()):oObject
	for(kk=0;kk<aF.length;kk++)
		{
		if(kk+1<aF.length)if(aF[kk+1].indexOf("=")==-1){aF[kk]+=(","+aF[kk+1]);aF.splice(kk+1,1);kk--;continue;}
		aNV=aF[kk].split("=");szF=aNV[0];szA=aNV.slice(1).join("=");
		szVN=((nocase)?szF.toUpperCase():szF);
		eval("oP."+szVN+"=eval(szA)");
		}
	return oP;}
function DCrgb2x(sz)
	{
	if(typeof sz!='string')	return sz
	if(sz.indexOf("rgb")<0) return sz
	ah=sz.split("rgb(")[1].split(")")[0].split(",");
	return "#"+DCtoX(ah[0],2)+DCtoX(ah[1],2)+DCtoX(ah[2],2)
	}
function DCo2a(oObject,parameters)//,bCSSonly)
	{
	if(!parameters)var parameters={symbolEqual:"=",symbolComma:",",bCSSonly:false}
	var	szA="",oo=null,szC=",",szO=""
	if(typeof oObject=="string")return "string=\""+oObject+"\""
	for(i in oObject)//enumerate the variable names
		{
		if(typeof i	 =='string'	)
		if(i.indexOf("#")>-1		)continue;// Opera Weirdness with '#' characters
		if(typeof i=="string"		)if(i.indexOf("-")>-1  )
			{i=DCcss2proper(i);DCdebug(i)}
		if(String("0123456789").indexOf(String(i).substring(0,1))>-1)continue;
		oo=eval("oObject."+i);
		szType=typeof oo;

			if(szType=="string"	){szO="\""+oo+"\"";if(oo.indexOf("rgb(")>-1)szO="\""+DCrgb2x(oo)+"\""
		}else	if(szType=="boolean"	){szO=(oo)?"true":"false"
		}else	if(szType=="number"	){szO=oo
		}else	if(parameters.bCSSonly	){continue;
		}else	if(szType=="function"	){szO="\"[function]\"";//continue;
		}else	if(szType=="null"	){szO="\"[null]\""
		}else	if(szType=="object"	){szO="\"[object]\"";//continue;
		}else	if(szType=="undefined"	){szO="\"[undefined]\""
		}else	{DCstatus("[DCo2a] "+typeof oo);	szO=oo	}

		if(szA.length>0)szA+=parameters.symbolComma;szA+=i+parameters.symbolEqual+szO
		}; //End For
	return szA;//.split(szC).join(",");
	}
function DCtoI(o){if(o)return parseInt(o);return 0;}
function DCtoX(iV,iLen)
	{for(szR='';iV>0;szR=String("0123456789ABCDEF").substring((iC=(iV%16)),iC+1)+szR,iV=Math.floor((iV-iC)/16));
	if(DCtoX.arguments.length>1&&szR.length<iLen)szR+=String("0000").substring(0,iLen-szR.length)
	return szR}
function DCh2i(sz)
	{
	var i	=0;
	for(szH	="0123456789ABCDEF",x=0,aD=sz.split("");(oD=aD.pop());(i+=(szH.indexOf(oD))*((x)?(x*16):1)),x++);
	return i
	}
function DCgetTime(obj)
	{var oD=new Date();return oD.getHours()+":"+oD.getMinutes()+":"+oD.getSeconds()}
function DCgetForm(szF)
	{
	var oP=DCparsePath(szF),result=null,aF=oP.szL.split("."),oL=null
	if(aF.length==0)return null
	var oW=eval(oP.szWindow);if(!oW)return null
	var oD=oW.document,szF=aF[aF.length-1]
	if(oDC.NS&&aF.length>1)oL=oD.getElementById(aF[0]);if(oL)oD=oL.document
	return oD.forms[szF];}
function DCgetImage(szF)
	{
	var oP=DCparsePath(szF),result=null,aF=oP.szL.split("."),oL=null
	if(aF.length==0)return null
	var oW=eval(oP.szWindow);if(!oW)return null
	var oD=oW.document,szF=aF[aF.length-1]
	if(oDC.NS&&aF.length>1)oL=oD.getElementById(aF[0]);if(oL)oD=oL.document
	return oD.images[szF]}
function DCreplace(szT,szF,szR)
	{
	if(typeof szT!="string")return szT
	return szT.split(szF).join(szR)
	}
function DCgetPath(szL)
	{
	var oL=DCok(szL);
	if(oL)if(oL.navPath)return oL.navPath
	if(szL.split)return DCparsePath(szL);
	return null}
function DCgetDefaultWindow(){if(self.frames)if(self.frames.length>1)return self.frames[0];return self;}
function DCgetDefaultDocument(){return DCgetDefaultWindow().document;}
function DCgetParent(pL){return ((oN=DCgetPath(pL)))?eval(oN.szParent):DCgetDefaultWindow()}
function DCgetParentWindow(szL)
	{if(DCgetParentWindow.arguments.length==0)return DCgetDefaultWindow()
	if(!szL)return DCgetDefaultWindow()
	if(!szL.split)return szL.window
	navPath=DCparsePath(szL)
	if(!navPath)return DCgetDefaultWindow()
	iDoc=navPath.szParent.lastIndexOf(".document")
	if(iDoc==navPath.szParent.length-9)return eval(navPath.szParent.substring(0,iDoc))
	return eval(navPath.szParent)}
function DCgetParentDocument(szL)
	{
	if(!szL)return DCgetDefaultDocument()
	oParent=DCgetParent(szL)
	if(oParent)if(oParent.document)return oParent.document
	return (oParent)?oParent:DCgetDefaultDocument()}
function DCgetW(pL)
	{
	oL=DCok(pL);
	return(oL)?DCtoI(oL.style.width):0;
	}
function DCgetH(pL){oL=DCok(pL);return(oL)?DCtoI(oL.style.height):0;}
function DCgetWinHeight(szL)
	{var oW=DCgetParentWindow(szL);if(!oW)return 0
	if(oW.innerHeight)return oW.innerHeight
	if(oW.document)
		{
		if(oW.document.documentElement)if(oW.document.documentElement.clientHeight)return oW.document.documentElement.clientHeight
		if(oW.document.body)if(oW.document.body.clientHeight)return oW.document.body.clientHeight
		}
	return DCgetH(oW)}
function DCgetWinWidth(szL)
	{var oW=DCgetParentWindow(szL);if(!oW)return 0
	if(oW.innerWidth)return oW.innerWidth+oDC.PIXELTUNE
	if(oW.document)
		{
		if(oW.document.documentElement)if(oW.document.documentElement.clientWidth)return oW.document.documentElement.clientWidth
		if(oW.document.body)if(oW.document.body.clientWidth)return oW.document.body.clientWidth+oDC.PIXELTUNE
		}
	return DCgetW(oW)}
function DCgetName(pL){return ((oL=DCok(pL)))?oL.navPath.szL:"";}
function DCchop(sz,szChar)
	{var aa=sz.split(szChar);
	for(;aa.length>0;aa.pop())if(aa[aa.length-1])break;
	for(;aa.length>0;aa.shift())if(aa[0])break;
	return aa.join(szChar)}
var ppRep=new Array(".layers",".all","@",".document.","'","\"","['",".","']",".","[\"",".","\"]",".","..",".")
function DCparsePath(szL)
	{
	if(typeof szL=='object')if(szL.navPath)return szL.navPath
var oP={szPath:DCreplace(szL,"'","\""),bExists:false,bChild:false,szWindow:null,szL:null,szParent:null}
	if(!szL)return oP;if(!szL.split )return oP
	for(pp=0;pp<ppRep.length;pp+=2)szL=szL.split(ppRep[pp]).join(ppRep[pp+1])
if(szL.indexOf("all."	)<0 )szL="all."+szL
if(szL.indexOf("document."	)<0 )szL=((oDC.FRAMES)?"self.frames[0].document.":"self.document.")+szL
if(szL.indexOf("document."	)==0)szL=((oDC.FRAMES)?"self.frames[0].":"self.")+szL
	oP.szPath		=szL=DCchop(szL,".")
	var rTemp		=szL.split(".all")
	oP.bChild		=(rTemp.length>2)
	oP.szL			=rTemp.pop()
	oP.szParent		=rTemp.join(".all")
	oP.szL			=DCchop(oP.szL,".")
	oP.szWindow		=oP.szParent.substring(0,oP.szParent.indexOf(".document"))
	oW=eval(oP.szWindow);
	oD=eval(oP.szParent);
	if(oW)
		{
		if(typeof oD.getElementById=='undefined')
			{
			oD.getElementById=oW.DC_getElementById;
			}
		if(typeof oD.getElementById!='undefined')
		oL=oD.getElementById(oP.szL)
		}
	if(typeof oL !='undefined')if(oL)
		if(!oP.bExists)		{oP.bExists=true;oL.NAME=oP.szL		}
	return oP}
function DCok(szL)
	{
	if(!szL||szL.navPath)return szL
	var oL
	if(szL.navPath||!szL.split)return szL
	var oN=new DCparsePath(szL);
	if(!oN.bExists)return null;
	oTP=eval(oN.szParent);
	var oW=eval(oN.szWindow);if(!oW)return null
	oL=oW.document.getElementById(oN.szL);
	if(!oTP.getElementById){oTP.getElementById=DC_getElementById;}
	if(oL.navPath)return oL;oL.navPath=oN
	if(!oL.window)oL.window=DCgetParentWindow(szL)
	if(oN.bChild)oL.oParent=DCok(oN.szParent)
	DCbindNode(oL);return oL;}
function DCgetX(szL){return (oL=DCok(szL))?DCtoI(oL.style.left):0}
function DCgetY(szL){return (oL=DCok(szL))?DCtoI(oL.style.top):0}
function DCwhereIs(oA)
	{
	if(!oA)return {LEFT:0,TOP:0}
	oA.LEFT=oA.TOP=0
	if(typeof oA.x		=="number"){oA.LEFT=oA.x;oA.TOP=oA.y;return oA}
	if(typeof oA.offsetLeft	!="number")return oA;
	oA.TOP=oA.offsetTop;oA.LEFT=oA.offsetLeft
	if(oA.parentNode)
		for(oT=oA.parentNode;oT.parentNode;oT=oT.parentNode)
			if(oDC.szSkip.indexOf(":"+oT.tagName.toUpperCase()+":")==-1)
				{
				oA.LEFT+=oT.offsetLeft;
				oA.TOP+=oT.offsetTop;
				}
	if(oDC.W3C		){oA.LEFT--;oA.TOP-=3}
	if(oDC.IE		){oA.LEFT++;oA.TOP++}
	return oA;
	}
function DCgetAnchorIn(pL,szA)
	{
	var oL=DCok(pL);
	aA=document.anchors;// If this browser's layers contain document structures
	if(oL.document)if(oL.document.anchors)aA=oL.document.anchors;
	else if(oL)aA=DCgetParentDocument(oL.navPath.szPath).anchors
	return	DCanchorByName(aA,szA)
	}
function DCanchorByName(aA,szA)
	{
	for(Z=0;Z<aA.length;Z++)if(aA[Z].name==szA)return DCwhereIs(aA[Z]);
	return null ;
	}
function DCanchorByHref(aA,szA)
	{
	for(Z=0;Z<aA.length;Z++)
		if(aA[Z].href.indexOf(szA)>-1)
			return DCwhereIs(aA[Z]);return {LEFT:-6,TOP:-6};//null
	}
function DCgetAnchor(szL,szA)
	{
	var aA=DCgetParentDocument(szL).anchors
	if(aA)return DCanchorByName(aA,szA);
	return null;
	}
function DCflyToAnchor(szL,szA,iMode)
	{var oL=DCok(szL);if(!oL)return
	mode=(DCflyToAnchor.arguments.length>=3)?iMode:0
	if((oA=DCgetAnchor(szL,szA))==null)return
	DCmoveTo(szL,((mode!=2)?oA.LEFT:oL.style.left),((mode!=1)?oA.TOP:oL.style.top))
	DCshow(oL,true);
	}
function DCclip2array(oL)
	{
	if(!oL					)oL={style:{clip:"rect(-999px -999px -999px -999px)"}}
	if(typeof oL.style.clip!="undefined"	)if(oL.style.clip.length>0)aClips=oL.style.clip.split(",").join(" ").split("rect(")[1].split(")")[0].split("px");
	if(typeof oL.style.clips!="undefined"	){osC=oL.style.clips;aClips=new Array(oSC.top,oSC.right,oSC.bottom,oSC.left)}
	if(typeof aClips =='undefined')
		{
		aClips=new Array(-666,666,666,-666)
		}
	return aClips
	}
function DCclip(pL,iT,iR,iB,iL)
	{
	var oL=DCok(pL);if(!(oL))return new Array(-1,-1,-1,-1)
	var oC=oL.style.clip;
	if(DCclip.arguments.length<2)return DCclip2array(oL)
	Clips=new Array(DCtoI(iT),DCtoI(iR),DCtoI(iB),DCtoI(iL))
	if(DCgetH(oL)<iB)oL.style.height=iB
	if(typeof iR =="undefined" || typeof iB =="undefined"|| typeof iB =="undefined"|| typeof iB =="undefined")
	{
	DCstatus("[DCclip] BAD ARGUMENTS"+(typeof iR)+" "+Clips+DCclip.caller);return Clips;
	}
	if(oDC.NS)	{oC.top		=iT;oC.bottom=DCtoI(iB);oC.left=iL;oC.right=iR
	}else		{oL.style.clip	="rect("+Array(iT,iR,iB,iL).join("px ")+"px)"}
	return Clips
	}
function DCcreateIn(pL,szL,x,y,w,h,bgColor)
	{
	if(!(oL=DCok(pL)))return null;
	return DCcreate(oL.navPath.szPath+".all."+szL,x,y,w,h,bgColor)
	}
function DCcreate(szL,iX,iY,iW,iH,bgColor)
	{
	var oL=DCok(szL);
	navPath=DCparsePath(szL);szPX=(oDC.NS)?"":"px"
	var oS={visibility:((navPath.bChild)?'inherit':'visible'),backgroundColor:((bgColor	)?((String(":clear:transparent:").indexOf(bgColor)>-1)?null:bgColor):null),position:"absolute",zIndex:1,border:"none",display:'block',overflow:'hidden',left:DCtoI(iX),top:DCtoI(iY),width:DCtoI(iW),height:DCtoI(iH)}
	var szCLASS=null;
	if(typeof bgColor=='string')
	if(bgColor.indexOf(".")==0)
		{
		szCLASS=bgColor.substring(1);
		bgColor=oS.backgroundColor="transparent";
		}
	if(oL)
		{
		DCsetBcolor(oL,oS.backgroundColor);DCmoveTo(oL,oS.left,oS.top);
		DCclip(oL,0,oS.width,oS.height,0);
		}
	var KK=null;oParent=eval(navPath.szParent)
	if(!oL)if(oDC.NS)
		{
		szTargetWindow=(navPath.szParent.indexOf(".all")>-1)?navPath.szParent:navPath.szWindow
		KK=oParent.layers[navPath.szL]=new Layer(w,eval(szTargetWindow))
		KK.clip.height=h;KK.style=KK
		if(oS.backgroundColor!=null)KK.bgColor=oS.backgroundColor;
		if(!KK.document.getElementById)KK.document.getElementById=DC_getElementById;
		KK.style.position='absolute'
		}else if(oDC.W3C)
		{
		var oW=eval(navPath.szWindow)
		if(typeof oW			=='undefined'	){alert("DCcreate:"+navPath)	}
		if(typeof oW.document		=='undefined'	){alert("DCcreate:"+navPath)	}
		if(typeof oW.document.body	=='undefined'	){alert("DCcreate:"+navPath)	}
		KK	=oW.document.createElement("div")
		KK.id	=navPath.szL
		KK.appendChild(oW.document.createTextNode(""))
		if(navPath.bChild)
			{
			oParent.appendChild(KK)
			oParent.all=oParent.getElementsByTagName("div")
			}else{
			oW.document.body.appendChild(KK)
			oBody=oW.document.getElementsByTagName("body");
			if(!oBody)
				{
				oBody=self.document.getElementsByTagName("body");
				oW=self;
				}
			if(oBody.length>0)
			oW.document.all=oBody[0].getElementsByTagName("div")
			}
		KK.style.clip='rect(0px '+oS.width+'px '+oS.height+'px 0px)'
		}else if(oDC.IE){
		str='\n<div id='+navPath.szL
		str+=' style="visibility:'+oS.visibility+';position:'+oS.position+';'
		str+='clip:rect(0px '+oS.width+'px '+oS.height+'px 0px); '
		str+='"> </div>';szCreate=navPath.szParent
		if(navPath.szParent.indexOf(".all")==-1)szCreate+=".body";
		var oTmp=eval(szCreate);
		if(typeof oTmp	=='undefined'	)oTmp=document.body
		if(typeof oTmp	=='undefined'	)return null;
		if(oTmp		==null		)return
		oTmp.insertAdjacentHTML("BeforeEnd",str)
		KK=eval(navPath.szWindow).document.all[navPath.szL]
		}


	if(!KK)return null;
	if(!KK.style)KK.style=new Object()
	KK.style.position	=oS.position;
	KK.style.visibility	=oS.visibility;KK.style.zIndex=oS.zIndex;
	KK.style.border		=oS.border;KK.style.display=oS.display;
	KK.style.backgroundColor=oS.backgroundColor;

	if(oDC.NS)
		{
		if(oS.backgroundColor)KK.style.layerBackgroundColor=oS.backgroundColor
		KK.clip.bottom		=h;
		KK.clip.right		=w;
		}else{
		KK.style.clip		='rect(0px '+oS.width+'px '+oS.height+'px 0px)'
		KK.style.overflow	=oS.overflow;
		}
	KK.style.left	=DCtoI(oS.left)+"px";
	KK.style.top	=DCtoI(oS.top)+"px";

	KK.style.width	=(oDC.W3C)?(oS.width+"px"):oS.width;
	KK.style.height	=(oDC.W3C)?(oS.height+"px"):oS.height;
	KK.NAME=navPath.szL
	oL=DCok(navPath.szPath)
	if(szCLASS!=null)
		{
		DCcssApply(oL,szCLASS);
		}
	return oL;
	}
function DCdestroyLayer(pL)
	{
	var oL=DCok(pL);if(!oL)return
	oL.style.visibility="hidden"
	if(oDC.NS){oL.window.document.all[pL]=null
	}else{oL.innerHTML="";oL.outerHTML=""}}
function DCalert(obj)
	{szA=String(obj)
	szA=DCreplace(DCreplace(DCreplace(szA,"'","&#180;"),"\n","<br>"),"\r","")
	setTimeout("alert('"+szA+"')",300);return;}
function DCgetXYscroll(pL)
	{oW=window;oL=DCok(pL)
	if(oL)oW=DCgetParentWindow(oL.navPath.szPath)
	return {LEFT:((oDC.W3C)?oW.scrollX:((oDC.NS)?oW.pageXOffset:oW.document.body.scrollLeft)),TOP:((oDC.W3C)?oW.scrollY:((oDC.NS)?oW.pageYOffset:oW.document.body.scrollTop))}
	}
function DCsetFloat(pL,bOnOff)
	{
	if(!(oL=DCok(pL)))return
	if( oL.scrollPump)clearTimeout(oL.scrollPump);
	if(!oL.scrollPump)
		{
		oL.scrollOffY=DCgetY(oL);
		oL.scrollOffX=DCgetX(oL)
		if(typeof oL.scrollRateX=='undefined')oL.scrollRateX=.2
		if(typeof oL.scrollRateY=='undefined')oL.scrollRateY=.2
		}
	oL.scrollPump=null;if(!bOnOff)return
	oW=DCgetParentWindow(oL.navPath.szPath)
	tY=oL.scrollOffY+((oW.document.documentElement)?oW.document.documentElement.scrollTop:((oDC.W3C)?oW.scrollY:((oDC.NS)?oW.pageYOffset:oW.document.body.scrollTop)))
	tX=oL.scrollOffX+((oW.document.documentElement)?oW.document.documentElement.scrollLeft:((oDC.W3C)?oW.scrollX:((oDC.NS)?oW.pageXOffset:oW.document.body.scrollLeft)))
	if(DCtoI(oL.style.top)!=tY||DCtoI(oL.style.left)!=tX)
		{
		oL.gY=DCtoI(oL.style.top	);oL.gY=Math.round(oL.gY+=(tY-oL.gY)*oL.scrollRateY)
		oL.gX=DCtoI(oL.style.left	);oL.gX=Math.round(oL.gX+=(tX-oL.gX)*oL.scrollRateX)
		DCmoveTo(oL,oL.gX,oL.gY);
		if(oL.floatNotify)oL.floatNotify(oL)
		}
	szHM='DCsetFloat('+oL.navPath.szPath+',true)'
	oL.scrollPump=setTimeout(szHM,100);
	}

var obLastMover=null;

function DCinLayer(pL,Evt)
	{
	if(!(oL=DCok(pL)))return false;
	if(Evt.pageX<=DCgetX(oL)||Evt.pageY<=DCgetY(oL))return false
	if(Evt.pageX>=DCgetX(oL)+DCgetW(oL)||Evt.pageY>=DCgetY(oL)+DCgetH(oL))return false;
	return true;}
function DCmoveTo(pL,x,y)
	{
	var vL=DCok(pL);if(!vL)return;if(!vL.style)return;
	vL.style.left=DCtoI(x)+((oDC.W3C)?'px':'');
	vL.style.top=DCtoI(y)+((oDC.W3C)?'px':'');
	}
function DCscroll(pL,iStep,iStepsize,bVertical)
	{
	var oL=DCok(pL);if(!oL)return false;
	Clips=DCclip(oL);
	if(!oL.firstShape)oL.firstShape=new Array(DCgetY(oL),DCgetW(oL),DCgetH(oL),DCgetX(oL))
	HV		=(bVertical)?1:0;iS=HV?0:3;iE=HV?2:1;
	Height		=Clips[iE]-(Clips[iS])
	iOffset		=(iStep*iStepsize)
	Clips[iS]	=iOffset;Clips[iE]=iOffset+Height;
	DCclip(oL,Clips[0],Clips[1],Clips[2],Clips[3])
	DCmoveTo(oL,oL.firstShape[3]-Clips[3],oL.firstShape[0]-Clips[0])
	return true}
function DCsetBimage(szL,szImage)
	{
	var oL=DCok(szL);if(!oL)return false;
	oL.style.backgroundImage=szImage
	if(document.layers)oL.document.backgroundImage=oL.window.document.ids[szL].backgroundImage=szImage
	return true}
function DCsetBcolor(szL,szColor)
	{
	var oL=DCok(szL);if(!oL)return false;
if(String("clear:transparent").indexOf(szColor)>-1)szColor=null
	oL.style.backgroundColor=szColor
	if(document.layers)oL.document.bgColor=oL.window.document.ids[szL].backgroundColor=oL.window.document.ids[szL].layerBackgroundColor=szColor
	return true}
function DCsetContent(pL,szContent,szClass)
	{
	var oL=DCok(pL);if(!oL)return;
	DCopenLayer(oL);
	DCwrite(oL,szContent);
	DCcloseLayer(oL);
	if(typeof szClass!='undefined')
		{
		DCcssApply(oL,szClass)
		}

	}
function DCopenLayer(pL){var oL=DCok(pL);if(oL)oL.innerHTML="";}
function DCwrite(pL,szT){var oL=DCok(pL);if(oL)oL.innerHTML+=szT;}
function DCcloseLayer(pL)
	{
	var oL=DCok(pL);if(!oL||!oDC.NS)return;var T=DCclip(pL);
	oL.document.open();oL.document.write(oL.innerHTML);oL.document.close()
	DCbindNode(oL);oL.style.height=T[2];oL.style.width=T[1]
	DCclip(oL,T[0],T[1],T[2],T[3]);}
function DCshow(pL,bShow){var oL=DCok(pL);if(oL)oL.style.visibility=(bShow)?'inherit':'hidden'}
function DCshowTab(pL,szTabs)
	{
	var oL=DCok(pL),bL=null;if(!oL||!szTabs)return pL
	for(xSx=0,aTabs=szTabs.split(",");xSx<aTabs.length;xSx++)
	DCshow((bL=DCok(aTabs[xSx])),(bL==oL));return oL;}
function DCwhichTab(szTabs)
	{
	var aTabs=szTabs.split(","),oL=null
	for(Zx=0;Zx<aTabs.length;++Zx)
		{
		oL=DCok(aTabs[Zx])
		if(oL)if(String("visibleshowinherit").indexOf(oL.style.visibility)>-1)return oL;
		}
	return oL;}
function DCsetZindex(pL,iLevel){var oL=DCok(pL);if(oL)oL.style.zIndex=iLevel;}
function DCsetZtop(pL)
	{
	var oL=DCok(pL);if(!oL) return
	if(!oDC.NS){oDC.iZindex++;oL.style.zIndex=(++oDC.iZindex);return}
	iLowest=null,iHighest=null,oOther=null
	for(xZZ=0;xZZ<oL.window.document.all.length;xZZ++)
	{if(!oL.window.document.all[xZZ].navPath)continue
	if(!oL.window.document.all[xZZ].navPath.szPath)continue
	if((oOther=oL.window.document.all[xZZ])==oL)continue
	if(iLowest==null)iLowest=iHighest=oOther.style.zIndex
	if(oOther.style.zIndex<iLowest)iLowest=oOther.style.zIndex
	if(oOther.style.zIndex>=iHighest)oL.style.zIndex=(iHighest=oOther.style.zIndex)+1}}
function DCsetZbottom(pL){var oL=DCok(pL);if(oL)oL.style.zIndex=0}
function DCsetZabove(pL,poL)
	{
	var oL1=DCok(pL),oL2=DCok(poL);if(oL1&&oL2)oL1.style.zIndex=oL2.zIndex+1
	}
function DCsetZbelow(pL,poL)
	{
	oL1=DCok(pL);oL2=DCok(poL);if(!oL1||!oL2)return
	if(oL2.style.zIndex==0)oL2.style.zIndex=1
	oL1.style.zIndex=otherLayer.style.zIndex+1;}
function DCbindNode(oL)
	{
	var varg=false;if(barg)varg=true;barg=false;
	oL.NAME=oL.navPath.szL
	if(!oL.MX			)oL.MX=oL.MY=0;oL.eMask=0
	if(!oL.document			)oL.document=oL
	if(typeof oL.all		=='undefined'	)oL.all=(oDC.NS)?oL.layers:oL.getElementsByTagName("div")
	if(typeof oL.getElementById	=='undefined'	)oL.getElementById=self.DC_getElementById
	if(typeof oL.nodeType		=='undefined'	)oL.nodeType=1
	if(typeof oL.style		=='undefined'	)oL.style=oL;var oS=oL.style
	if(typeof oS.zIndex		=='undefined'	)oS.zIndex=0
	if(typeof oS.left		=='undefined'	)oS.left=0;
	if(typeof oS.left		=='undefined'	)oS.top=0;
	var aC=DCclip2array(oL)
	if(typeof oS.width		=='undefined'	)if(aC[1]!=-1	)oS.width=aC[1]
	if(typeof oS.height		=='undefined'	)if(aC[2]!=-1	)oS.height=aC[2]
	if(typeof oL.firstShape		=='undefined'	)oL.firstShape=new Array(DCtoI(oS.top),DCtoI(oS.width),DCtoI(oS.height),DCtoI(oS.left))
	}
function DCbindDoc(oDoc)
	{
	if(!oDoc)return false;
	if(typeof oDoc.layers!='undefined')oDoc.all=eval("oDoc.layers");
	if(oDC.W3C){
		if(oDoc.getElementsByTagName("BODY").length<1)return false;
		oDoc.all=oDoc.getElementsByTagName("BODY")[0].getElementsByTagName("DIV")
		}
	if(!oDoc.getElementById)oDoc.getElementById=self.DC_getElementById
	if(!oDoc.captureEvents)oDoc.captureEvents=oDoc.releaseEvents=DC_dummy
	if((typeof oDoc.styleSheets)!="undefined")
	for(xx=oDoc.styleSheets.length-1;xx>=0;xx--)
	if(typeof oDoc.styleSheets[xx].rules	!="undefined")oDoc.styleSheets[xx].cssRules=oDoc.styleSheets[xx].rules
	return true
	}
function DCstatus(sz){window.status=window.defaultStatus=sz}
function DCscan(A,szS,DD)
	{
	var oResult=null,oL=null,x=0;oDC.iScan++
	if(DD)
		{
		if(DD.images	)if(DD.images[szS])return DD.images[szS]
		if(DD.forms	)if(DD.forms.length){
		if(DD.forms[szS])return DD.forms[szS]
		for(xx=0;xx<DD.forms.length;xx++)
		if(DD.forms[xx].elements[szS])return DD.forms[xx].elements[szS]
		}
	}
	if(oDC.iScan<5)if(A)if(A.length)if(A.length>0)for(x=0;oResult==null&&x<A.length;x++)
		{
		oL=A[x]
		if(oL.layers	)if(!oL.all)oL.all=oL.layers
		if(!oL.NAME)if(oL.id)if(oL.id	==szS	)oResult=oL
		if(!oResult&&oL.NAME)if(oL.NAME	==szS	)oResult=oL
		if(!oResult)if(oL.all)if(oL.all.length)if(oL.all.length>0)
		{oResult=DCscan(oL.all,szS,oL)}
		}
	oDC.iScan--;return oResult;}
function DC_getElementById(szID){return DCscan(this.all,szID,this)}
function szIEevent(szL, Evt)
	{
with(Evt)	{
	this.type=type;this.e=Evt
	this.layerX=x;this.layerY=y;
	this.screenX=screenX;this.screenY=screenY
	this.pageX=clientX;this.pageY=clientY
	if(typeof data!='undefined')this.data=data
	this.target=srcElement;this.which=button+1
	this.modifiers=(((altKey)?1:0)+((ctrlKey)?2:0)+((shiftKey)?4:0));
	if(document.body.scrollTop)
		{
		this.pageY+=document.body.scrollTop;
		if(document.body.scrollLeft)this.pageX+=document.body.scrollLeft
		}
	if(!(L=DCok(szL)))return
	}
	this.layerX=Evt.clientX-DCtoI(L.offsetLeft);this.layerY=(Evt.clientY-DCtoI(L.offsetTop))+document.body.scrollTop;if(L.oParent)for(tobj=L,x=0;(tobj=tobj.oParent)&&x<10;x++){if(String(tx=DCtoI(tobj.offsetLeft))=="NaN")continue;this.layerX-=tx;this.layerY-=(ty=DCtoI(tobj.offsetTop));this.pageX-=tx;this.pageY-=ty;}if(oDC.MXstart.indexOf(this.type)!=-1){L.MX=this.layerX;L.MY=this.layerY;}
	}
function szNSevent(szL, Evt) {
	with(Evt){
	this.type	=type;this.e=Evt
	this.layerX	=layerX;this.layerY=layerY
	this.pageX	=pageX;this.pageY=pageY
	this.screenX	=screenX;this.screenY=screenY
	this.target	=target;this.modifiers=modifiers
	if(Evt.data)this.data=Evt.data
	this.which		=which}
	var L=DCok(szL);if(!L)return
	for(tobj=L,x=0;L.oParent&&(tobj=tobj.oParent)&&x<10;x++)
	 {
	 if(!tobj.style)continue
	 this.pageX-=DCtoI(tobj.style.left)
	 this.pageY-=DCtoI(tobj.style.top)
	 }
	if(oDC.MXstart.indexOf(this.type)!=-1){L.MX=this.layerX;L.MY=this.layerY}
	}

function szW3event(szL, Evt)
	{with(Evt){
	this.type=type;this.e=Evt
	this.layerX=layerX;this.layerY=layerY
	this.pageX=pageX;this.pageY=pageY
	this.screenX=screenX;this.screenY=screenY
	this.target=target;this.which=which
	this.modifiers=(((altKey)?1:0)+((ctrlKey)?2:0)+((shiftKey)?4:0));}
	if(Evt.data)this.data=Evt.data
	var L=DCok(szL);if(!L)return
	for(tobj=L,x=0;L.oParent&&(tobj=tobj.oParent);x++)
	if(tobj.style){this.pageX-=DCtoI(tobj.style.left);this.pageY-=DCtoI(tobj.style.top);}
	if(oDC.MXstart.indexOf(this.type)!=-1){L.MX=this.layerX;L.MY=this.layerY}
	}
function DCshift()//**Crutch IE5.0
	{if(!this.length)return null;var result=this[0]
	for(x=0;x<this.length-1;x++)this[x]=this[x+1]
	delete this[--this.length];return result;}
function DCpop()//**Crutch IE5.0
	{if(!this.length)return null;var result=this[(this.length-1)]
	delete this[this.length];return result;
	}
function DC_dummy(){return}
function DCdocdone(oDoc)
	{
	if(oDoc.images)
	if(oDoc.images.length)
	if(oDoc.images.length>0)
		{
		for(x=0;x<oDoc.images.length;x++)
			{
			oI=oDoc.images[x]
			if(oI.src.indexOf(oDC.szServer)==-1)continue;
			if(oI.complete)
			if(typeof oI.width	!="undefined")if(oI.width	>0)
			if(typeof oI.height	!="undefined")if(oI.height	>0)
			continue;
			oDC.szReason+="Images For ("+oDoc.images[x].src+") page "+oDoc.location.href;oDC.tries+=1
			return false;
			}
		}
	DCbindDoc(oDoc);return true;
	}
function DCautoexec()
	{
	if(oDC.iIDauto==null){oDC.iIDauto=setInterval("DCautoexec()",500);return;}
	DCstatus(window.status+"."+oDC.tries)
	if((oDC.tries++ )>oDC.maxTries)
		{
		clearInterval(oDC.iIDauto);oDC.iIDauto=null;
		if(!self.autoexec){	DCstatus("Done.... Time Out "+oDC.szReason+" "+document.location.href.split("/").pop());return;}
		alert("Page Timed Out waiting for ["+oDC.szReason+"]");return
		}

oDC.szReason=""
	DCstatus(window.defaultStatus.split(".")[0]+"... ["+oDC.tries+"] "+oDC.szReason)

	if(typeof self.frames=="undefined"){oDC.szReason+="self.frames";return;}
	oDC.FRAMES=(self.frames.length>1)

	if(oDC.FRAMES)
		{	for(xAx=0;xAx<self.frames.length;xAx++)
				{
				if(typeof self.frames[xAx]		=="undefined"	){oDC.szReason+="self.frames[xAx]";return;}
				if(typeof self.frames[xAx].document	=="undefined"	){oDC.szReason+="self.frames[xAx].document";return;}
				if(!self.DCdocdone(self.frames[xAx].document))
					{oDC.szReason+="self.DCdocdone(self.frames[xAx].document";return;}
				}
		}else{		if(!DCdocdone(self.document))
				{oDC.szReason+="DCdocdone(self.document)";return;}
		}

	if(typeof self.focus =="undefined"){oDC.szReason+="self.focus";return;}
	//*** These have to do with positional pixel variances
	if(oDC.IE	)oDC.szSkip+="FONT:"
	if(oDC.W3C	)oDC.szSkip=":FORM:CENTER:HTML:BODY:TR:DIV:P:"
	oDC.READY	=true;
	DCstatus("Done...");
//	if(!self.autoexec&&oDC.szReason!="autoexec"){oDC.szReason+="autoexec";return;}
	clearInterval(oDC.iIDauto);oDC.iIDauto=null
	oDC.PIXELTUNE	=(oDC.NS)?4:((oDC.IE)?1:((oDC.W3C)?-2:oDC.PIXELTUNE))
	oDC.szEpath	=((oDC.NS)?"arguments[0]":"window.event")
	if(oDC.IE)if(!Array().pop){Array.prototype.pop=DCpop;Array.prototype.shift=DCshift}
	var oTF		=self,aTF=new Array(),iTF=0
	while(oTF!=top&&oTF.parent&&iTF++<10){aTF.splice(0,0,oTF.name);oTF=oTF.parent;}
	aTF.splice(0,0,"top");oDC.FRAMEpath=aTF.join('.')+'.'
	if(self.autoexec)setTimeout("autoexec()",750);
	DCshow("DHTMLsplash",false)
	return
	}
function DCsetTrigger(szL,szEvents,szFunction)
	{
	var szF=(DCsetTrigger.arguments.length>2)?szFunction:null;
	var oL=DCok(szL);if(!oL||!szEvents)return false;
	aEvents=szEvents.split(",")
	for(xT=0;xT<aEvents.length;xT++)
		{
		szEvent=aEvents[xT];if(szEvent.indexOf("on")!=0)szEvent="on"+szEvent;
		oDpath=oL.navPath.szPath
		var szT=(szEvent=="onmousemove"|szEvent.indexOf("onkey")==0)?oL.navPath.szWindow+".document":"oL"
try {
		szHM="return "+szF+"('"+oDpath+"',new DC_EVENT('"+oDpath+"',"+((oDC.NS||oDC.W3C)?"arguments[0]":oL.navPath.szWindow+".event")+"))"
		eval(szT+"."+szEvent+((szF)?"=new Function(szHM)":"=null"))
	}catch(e){}

		if(!oDC.NS||!szEvent)continue;
		oE=eval("Event."+szEvent.substring(2).toUpperCase())
		oT=eval(szT)
		if(!szF){	oT.releaseEvents(oE);}
		else	{	oT.captureEvents(oE);}
		}
	return true
	}
function DC_track(szStart,szWhile,szEnd,szAction)
	{this.szStart=szStart;this.szWhile=szWhile;this.szEnd=szEnd;this.szAction=szAction;}
function DCsetTrack(pL,e_szEstart,szEaction,szEend,szFunc)
	{
	iArgc=DCsetTrack.arguments.length;
	var oL=DCok(pL);if(!oL)return true
	if(iArgc==1)//Clear handlers 
		{
		DCsetTrigger(oL,oL.eTrack.szStart)
		DCsetTrigger(oL,oL.eTrack.szWhile)
		DCsetTrigger(oL,oL.eTrack.szEnd);return true;
		}
	if(iArgc==5)//Assign handlers
		{
		oL.eTrack=new DC_track(e_szEstart,szEaction,szEend,szFunc)
		DCsetTrigger(oL,oL.eTrack.szStart,"DCsetTrack");return false;
		}
	Evt=e_szEstart
	if(oL.eTrack.szStart.indexOf(Evt.type)>-1)//**START
		{
		if(DCok(obLastMover))//**Reset event track
			{
			DCsetTrigger(obLastMover,obLastMover.eTrack.szEnd)
			DCsetTrigger(obLastMover,obLastMover.eTrack.szWhile)
			DCsetTrigger(obLastMover,obLastMover.eTrack.szStart,"DCsetTrack")
			}
		obLastMover=oL
		DCsetTrigger(oL,oL.eTrack.szEnd,"DCsetTrack")
		DCsetTrigger(oL,oL.eTrack.szWhile,"DCsetTrack")
		return(eval(oL.eTrack.szAction+"(obLastMover,Evt)"))
		} else if(oL.eTrack.szWhile.indexOf(Evt.type)>-1)//**WHILE
		return(eval(oL.eTrack.szAction+"(obLastMover,Evt)"))
	if(oL.eTrack.szEnd.indexOf(Evt.type)>-1)//**END
		{
		if(obLastMover)DCsetTrigger(obLastMover,obLastMover.eTrack.szStart,"DCsetTrack")
		DCsetTrigger(oL,oL.eTrack.szWhile)
		DCsetTrigger(oL,oL.eTrack.szEnd)
		bResult=eval(oL.eTrack.szAction+"(obLastMover,Evt)")
		obLastMover=null;return bResult;
		}
	return false;}
function DCgetScriptRoot(szScript)
	{
	aScripts		=self.document.getElementsByTagName("script")
	for(zs=0;zs<aScripts.length;zs++)
		{
		szScriptname				=aScripts[zs].src.split("?")[0]
		if(szScriptname.indexOf(szScript)	==-1)continue;
		if(aScripts[zs].src.indexOf(szScript)	==-1)continue;
		return szScriptname.split(szScript).join('')
		}
	return '.'
	}
oDC.W3C	=(document.getElementsByTagName&&!document.all	)?true:false
oDC.IE	=(document.all					)?true:false
oDC.NS	=(document.layers				)?true:false
oDC.OP	=(navigator.userAgent.indexOf("Opera")>-1	)?true:false
DCstatus("Loading...");
function DC_EVENT(szL,szEvt){this.DChandler(szL,szEvt)}
DC_EVENT.prototype		= Object()
DC_EVENT.prototype.constructor	=DC_EVENT;
DC_EVENT.prototype.DChandler	=(oDC.NS)?szNSevent:((oDC.IE)?szIEevent:szW3event)
//*** Find the directory where this script is loaded from
	oDC.aScripts=[]
	if(self.document.getElementsByTagName)
	oDC.aScripts	=self.document.getElementsByTagName("script")
	oDC.szHTMLRoot	=self.document.location.href.substring(0,self.document.location.href.lastIndexOf("/"))+"/"
	for(zs=0;zs<oDC.aScripts.length;zs++)
		if(oDC.aScripts[zs].src.indexOf("jsDHTMLlib.js")>-1)
			{
			oDC.szRoot=oDC.aScripts[zs].src.split("jsDHTMLlib.js").join('')
			oDC.aRoot=oDC.szRoot.split("?")
			}
	if(oDC.aRoot.length>1)
		{
		oDC.szRoot=oDC.aRoot[0];oDC.aLibs=oDC.aRoot[1].split(",");
		oDC.szServer=oDC.aRoot[0].split(/:[\/]+/).join("@@@@").split("/")[0].split("@@@@").join("://")+"/"
		}
	oDC.szAddScripts="";
	oDC.aoAddScripts=[];

	for(x=0;x<oDC.aLibs.length;x++)
		{
		szAddPath=(oDC.aLibs[x].substring(0,1)=='^')?oDC.szHTMLRoot+oDC.aLibs[x].substring(1):oDC.szRoot+oDC.aLibs[x]
		if(oDC.aLibs[x].split(".").pop()=='css')
			{
			if(document.write)
				{
				oDC.szAddScripts+='<link type="text/css" rel="stylesheet"  href="'+szAddPath+'">\n'
				}else{
				oAS=oDC.aoAddScripts[oDC.aoAddScripts.length]=document.createElement("link")
				oAS.setAttribute("type","text/css")
				oAS.setAttribute("rel","stylesheet")
				oAS.setAttribute("href",szAddPath)
				}
			}else{
			if(document.write)
				{
				oDC.szAddScripts+='<script type="text/javascript" src="'+szAddPath+'"><\/script>\n'	
				}else{
				oAS=oDC.aoAddScripts[oDC.aoAddScripts.length]=document.createElement("script")
				oAS.setAttribute("type","text/javascript")
				oAS.setAttribute("src",szAddPath)
				}
			} // end if else css
		} // end for 

if(			oDC.szAddScripts.length&&document.write)
	{
	document.write(oDC.szAddScripts);
	} else if(	oDC.aoAddScripts.length&&document.createElement)
	{
	oHEAD=document.getElementsByTagName("head")[0]
	oSCRIPT=document.getElementsByTagName("script")[0]
	for(z=0;z<oDC.aoAddScripts.length;z++)
		{
		oHEAD.insertBefore(oDC.aoAddScripts[z],oSCRIPT)
		iHEAD=document.getElementsByTagName("script").length
		}
	}

DCautoexec()
