function setUpBody(){
	var contentWidth = 480;
	var xWidth =480;
	var xHeight=100;
	if(screen.width){
		xWidth=screen.width;
		xHeight=screen.height;
	}else if(window.innerWidth){
		xWidth=window.innerWidth;
		xHeight=window.innerHeight;
	}
	if(xWidth>=480){
		contentWidth=480;
	}
	if(xWidth<480 && xWidth>=320){
		contentWidth=320;
	}
	if(xWidth<320){
		contentWidth=128;
	}
	if(xHeight>contentWidth){xHeight=contentWidth;}
	document.getElementById('contentWidth').content="width="+contentWidth+"; minimum-scale=1.0; user-scalable=no";
	setCookie('contentWidth',contentWidth,1);
	setCookie('contentHeight',xHeight,1);
}
function setCookie(c_name,value,expiredays){
	var exdate=new Date();
	exdate.setDate(exdate.getDate()+expiredays);
	document.cookie=c_name+ "=" +escape(value)+
	((expiredays==null) ? "" : ";expires="+exdate.toGMTString());
}

function tabSwitch(showNodeId,hideNodeId,activeTabId,inactiveTabId){
	var showNode = document.getElementById(showNodeId);
	var hideNode = document.getElementById(hideNodeId);
	var activeTab = document.getElementById(activeTabId);
	var inactiveTab=document.getElementById(inactiveTabId);
	showNode.style.display="inline-block";
	hideNode.style.display="none";
	class1=String(activeTab.className);
	class2=String(inactiveTab.className);
	if(class1.indexOf('tab1',0)!=-1){activeTab.className="tab1 activeTab";}
	else{activeTab.className="tab2 activeTab";}
	if(class2.indexOf('tab1',0)!=-1){inactiveTab.className="tab1";}
	else{inactiveTab.className="tab2";}
}

function validateForm(arg){
	return true;
}
