var jhelper = new Object();
jhelper.btnOverName = '_on';
jhelper.btnOverName = '_on';
jhelper.contentRoot = '/';
jhelper.init = function(root){
	if(root){
		if(root.slice(-1)!='/'){
			root = root+'/';
		}
		jhelper.contentRoot = root;
	}
	document.write('<script type="text/javascript" src="'+ jhelper.contentRoot +'common/js/jqueryhelper/jquery.min.js"></script>');
	document.write('<script type="text/javascript" src="'+ jhelper.contentRoot +'common/js/jqueryhelper/jquery.color.js"></script>');
	if(jhelper.isIE6()){
		document.write('<script type="text/javascript" src="'+ jhelper.contentRoot +'common/js/jqueryhelper/ie6/DD_belatedPNG.js"></script>');
		document.write('<script type="text/javascript" src="'+ jhelper.contentRoot +'common/js/jqueryhelper/ie6/exfixed.js"></script>');
		document.write('<style type="text/css">body{behavior:url("'+jhelper.contentRoot+'common/js/jqueryhelper/ie6/csshover.htc");}</style>');
	}
	document.write('<script type="text/javascript" src="'+ jhelper.contentRoot +'common/js/jqueryhelper/jquery.helper.js"></script>');
}

jhelper.isIE = function() {
	IE='\v'=='v';
	if(IE){
		return true;
	}else{
		return false;
	}
}

jhelper.isIE6 = function() {
	var md = window.showModelessDialog;
	var ns = document.namespaces;
	var im = document.implementation;
	if(jhelper.isIE()){
		if(!window.XMLHttpRequest && (md && ns && im) ){
			return true;
		} else {
			return false;
		}
	}else{
		return false;
	}
}