// JavaScript to restore frameset when accessing
// Rob van der Woude's Scripting Pages
// at http://www.robvanderwoude.com/
function checkFrameset(x, y){
if (top == self) {
	
     // var exp = new Date();
    //exp.setTime(exp.getTime() + (1000 * 60));
    //setCookie('load', self.location.href, exp);
 if(x){
		if(x == "alfabet" && y){
			self.location.href = "../../default.asp" ;
		} else if(x == "alfabet" && !y){
			self.location.href = "../default.asp" ;
		} else {
			if(!y){
				var Wide = screen.width;
				if (Wide <= 800){
					self.location.href = "../800_600/default.asp?path="+x;
				}else if (Wide <= 1024){
					self.location.href = "../1024_768/default.asp?path="+x;
				}else {
					self.location.href = "../1280_1024/default.asp?path="+x;
				}				
				
			} else {
		
				var Wide = screen.width;
				
				if (Wide <= 800){
							self.location.href = "../en/800_600/default.asp?path="+x;
				}else if (Wide <= 1024){
							self.location.href = "../en/1024_768/default.asp?path="+x;
				}else {
							self.location.href = "../en/1280_1024/default.asp?path="+x;
				}
			}	
		}
} else {
	self.location.href = "default.asp";
	}
}
}

