function detect(){

if(screen.width>=1280||screen.height>=1024){
location.href('Vila Duga/19/Index.htm');
}else{
location.href('Vila Duga/17/Index.htm');
}

}


//Replace:
//               <body>

//With:
//                <body onLoad="detect()">
