document.body.className += ' js';

if (!location.host.indexOf('www.')) {
	location.replace(location.href.replace('www.', ''))
}

if (typeof $ == 'undefined') {
	function $(el) {
		return document.getElementById(el);
	}
}

if (typeof document.head == 'undefined') {
	document.head = document.getElementsByTagName('head')[0];
}

/*@cc_on
document.body.className += ' ie';
@*/

/*
var event = document.event;
var event.target = event.srcElement;
*/
