function getScreenWidth(){

	var width = 0;
	
	if(screen.width == 800){
		width = 780;
	}
	else{
		width = screen.width-22;	
	}
	return width;
}

function getScreenWidth1(){

	var browser = navigator.appName;
	var width = 0;
	
	if (browser == "Microsoft Internet Explorer"){
		if(screen.width == 1280){
			width = 1000;
		}
		else{
			width = screen.width-22;
		}
	}else if (browser == "Netscape"){
		if(screen.offsetWidth == 1280){
			width = 1000;
		}
		else{
			width = offsetWidth;	
		}
	}
	return width;
}

function getContentAreaHeight(){

	var browser = navigator.appName;
	var height = 0;
	
	if (browser == "Microsoft Internet Explorer"){
		if(screen.height == 768){
			height = screen.height-310;
		}else{
			height = screen.height - 340;
		}
	}else if (browser == "Netscape"){
		
		if(screen.offsetHeight == 768){
			height = screen.offsetHeight-310;
		}else{
			height = screen.offsetHeight - 340;
		}
	}
	return height;
}