Copy Code code as follows:
<script language= "JavaScript" >
<!--
if (Window.navigator.userAgent.indexOf ("MSIE") >=1)
{
var ie1024= "";
var ie800= "";
var ie1152= "";
var ieother= "";
ScreenWidth (Ie1024,ie800,ie1152,ieother)
}
else{
if (Window.navigator.userAgent.indexOf ("Firefox") >=1)
{
var firefox1024= "";
var firefox800= "";
var firefox1152= "";
var firefoxother= "";
ScreenWidth (Firefox1024,firefox800,firefox1152,firefoxother)
}
else{
var other1024= "";
var other800= "";
var other1152= "";
var otherother= "";
ScreenWidth (Other1024,other800,other1152,otherother)
}
}
function ScreenWidth (CSS1,CSS2,CSS3,CSS4) {
if ((screen.width = = 1024) && (screen.height = 768)) {
Setactivestylesheet (CSS1);
}else{
if (Screen.width = && (screen.height = 600)) {
Setactivestylesheet (CSS2);
}else{
if ((Screen.width = = 1152) && (screen.height = 864)) {
Setactivestylesheet (CSS3);
}else{
Setactivestylesheet (CSS4);
}}}
}
function Setactivestylesheet (title) {
document.getElementsByTagName ("link") [0].href= "style/" +title;
}
-->
</SCRIPT>