var IE6=(typeof document.documentElement.style.maxHeight != "undefined") ? false:true;

var js_arr = new Array();
js_arr.push(
	"jquery-1.4.2.min.js",
	"common.js"
);

importJS(js_arr);

function importJS(filePath){
	var jsDir = "/shared/js/";
	if(typeof(filePath)=="object"){
		if(filePath.length>1){
			for (var i in filePath){
				document.write('<script type="text/javascript" src="'+jsDir+filePath[i]+'"></script>');
			}
		}else {
			document.write('<script type="text/javascript" src="'+jsDir+filePath[0]+'"></script>');
		}
	}else{
		document.write('<script type="text/javascript" src="'+jsDir+filePath+'"></script>');
	}
}


//google analytics


 var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-16795612-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

