function res() {
	w = screen.width;
	h = screen.height;
	s = document.createElement("link");
	s.type = "text/css";
	s.rel = "stylesheet";
	res = w + " x " + h;
	
	if(w <= 1024 || h <= 768) {
		//alert("small");
		//document.write('<link rel="stylesheet" type="text/css" href="small.css" />');
		//document.createStyleSheet('small.css');
		s.href = "css1/small.css";
		document.getElementsByTagName("head")[0].appendChild(s);
	} else {
		//alert("big");
		//document.write('<link rel="stylesheet" type="text/css" href="big.css" />');
		//document.createStyleSheet('big.css');
		s.href = "css1/large.css";
		document.getElementsByTagName("head")[0].appendChild(s);
	}
}

window.load = res()

/*function sc() {
	sw = screen.width;
	sh = screen.height;
	
	res1 = sw + " x " + sh;
	document.getElementById("kalla").innerHTML = 'Now : <b>'+res1+'</b>';
}*/