function setStyle(){
	loc = document.location.href.toString();
	//check url doesn't already have change style
	if(loc.indexOf('save_energy')==-1){
		document.location = document.location.href + '?save_energy=yes';
	}else{
		document.location = document.location.href;
	}

}

function popUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=490,height=750');");
}
