window.onresize = hSize;
window.onload = function()
{
	hSize();
	jah('getPagee.php?id=13','pad')
	//InitialiseScrollableArea();
	//alert("123");
}
window.onresize = hSize;
function setSize(obj,newHeight )
{ 
	if (newHeight > 1)
	{ 
		if ( obj ) obj.style.height = newHeight + "px";
		//alert(newHeight)
	}
}
function getObj(theObj,theDoc)
{ 
	var p, i, foundObj; 
	if(!theDoc) theDoc = document; 
	if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
	{ 
		theDoc = parent.frames[theObj.substring(p+1)].document; 
		theObj = theObj.substring(0,p);
	}
	if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj]; 
	for (i=0; !foundObj && i < theDoc.forms.length; i++)
		foundObj = theDoc.forms[i][theObj]; 
	for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++)
		foundObj = findObj(theObj,theDoc.layers[i].document); 
	if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj); 
	
	return foundObj;
}
function hSize()
{ 
	myHeight = 0; 
	if( typeof( window.innerWidth ) == 'number' )
	{ 
		myHeight = window.innerHeight;
	}
	else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
	{ 
		myHeight = document.documentElement.clientHeight;
	}
	else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) )
	{ 
		myHeight = document.body.clientHeight
	}
	newHeight = myHeight - 140;
	setSize( getObj("centre"),newHeight);
}

var MENU_ITEMS = 
[
	[' ', null, null ,
	['','#'],['  ','#'],[' ','#'],[' ','#']
],
	['', null, null ,
	['','#'],['-','#'],[' ','#'],['  ','#'],['  ','#']
],
	['  ', null, null ,
	['Support','#'],['Forums','http://forums.codecharge.com'],['KB','http://support.yessoftware.com/kb_search.asp']
],
	['  ', null, null ,
	['Store','#'],['Resellers','#'],['Affiliate','#']
],
	[' , ', null, null ,
	['About Us','#'],['Contact Us','#'],['Press Releases','#']
],
	['<b></b>', null, null ,
	['About Us','#'],['Contact Us','#'],['Press Releases','#']


],


];
var i,c=0,scrl=true;;
	function InitialiseScrollableArea(){ 
		i = divContainer.offsetHeight+10;	
		divContent.style.top = i;
		divContainer.style.visibility='visible';
	    divContainer.style.left=100;
		setInterval('ScrollText()',20);
	}
	function ScrollText() {
		if (!scrl) return;
		divContent.style.top=i--;
		if (divContent.offsetHeight < divContainer.offsetHeight) {
			if (i == -divContainer.offsetHeight) i = divContainer.offsetHeight+10;
			return;
		}
		
		if (Math.abs(i) > divContent.offsetHeight) {
			i = divContainer.offsetHeight+10;	
		}
	}
