var editmode=""

function opendemo(){
	window.open("howtodemo/howtodemo.html","howtodemo","addressbar=no,top=5,left=5,width=790,height=430,resize=yes")
}
function openlicense40(){
	window.open("images/catalog/cylinders/40UserLicense.pdf","Cylinder_License","addressbar=no,scrollbars=yes,top=5,left=5,width=790,height=430,resize=yes")
}
function openlicense100(){
	window.open("images/catalog/cylinders/100userlicense.pdf","Cylinder_License","addressbar=no,scrollbars=yes,top=5,left=5,width=790,height=430,resize=yes")
}
function adjustPageElements(){
document.getElementById("mainareatable").width=document.getElementById("navbartd").width
document.getElementById("PageContent").width=document.getElementById("navbartd").width-50
//document.getElementById("CategoryDescription").width=document.getElementById("navbartd").width

}

function setFormCaller(obj){
	openerForm=obj
}
function submitForm(obj){
if (obj.tagName!="FORM"){
	while (obj.tagName!="FORM"){
		obj=obj.parentNode
	}
}
obj.submit()

}
<!--
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function flashbanner_DoFSCommand(command, args) {
	var flashbannerObj = isInternetExplorer ? document.all.flashbanner : document.flashbanner;
	//
	
	switch (command){
		case "getBanners":	
			roundAdXML="<root>" + document.getElementById("roundAd").innerHTML + "</root>"
			//alert(flashbannerObj.id)
			flashbannerObj.SetVariable("_root.adXML",roundAdXML)
			flashbannerObj.TCallLabel("_root", "setBanner")
		break;
	}
	//
}
// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<sc' + 'ript language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub flashbanner_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call flashbanner_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</scr' + 'ipt\>\n');
}

function toggleSide(refObj){
	obj=refObj
		while (obj.tagName !="TR"){
		obj=obj.parentNode
		}
	 if(obj.firstChild.className=="sideNav"){
	 toggleClass="selected"
	 }else{
	 toggleClass=""
	 }
	 if (obj.status!="active"){
	 obj.firstChild.className="sideNav"+toggleClass
	 obj.firstChild.nextSibling.className="sideNavTip"+toggleClass
	 }
}
//-->