
function plw(url)
{
  window.open(url,'video','width=488,height=420,scrollbars=0,resizable=0,location=0,menubar=0')
}


function chkChar1()

	{
	var re = /[0-9]/
	var t=false
	var pagNum = document.jump1.page.value 
	if(pagNum.length == 0)
 {
	alert("The field is empty.\nYou should type a number.")
	return false 	
	}

	if(pagNum.length == 2)  
	{ 
 pagNum = "0" + pagNum;
	}
    if(pagNum.length == 1)  
	{ 
 pagNum = "00" + pagNum;
	}
	t = re.test(pagNum.charAt(0))  
 	tt = re.test(pagNum.charAt(1)) 
 	ttt = re.test(pagNum.charAt(2)) 

	if((!t) || (!tt) || (!ttt))
	{
	alert("Invalid page number character(s): \n" + document.jump1.page.value + "\nPlease use numbers only.")
		document.jump1.page.value="" 
		return false        
		}
 
 
 	}
function chkChar2()
	{
	var rev = /[0-9]/
	var ta=false 
	var pagNumm = document.jump2.page.value 
	if(pagNumm.length == 0)
 	{
	alert("Yeeaaah, it\'s a lazy day.\nBut you shouldn\'t leave this field empty. Type a number.")
	return false 	
	}
	if(pagNumm.length < 2) 
	{ 
 pagNumm = "0" + pagNumm 
	}
	ta = rev.test(pagNumm.charAt(0))  
 	ttb = rev.test(pagNumm.charAt(1)) 
	if((!ta) || (!ttb)) 
		{
		alert("We appreciate your spirit of adventure, but typing the character(s): \n" + document.jump2.page.value + "\nwon\'t open any page. Type numbers instead. Numbers only.")
		document.jump2.page.value="" 
		return false        
		}
	}
function chkSearch 	() 
 {
 var lim=document.searchF.searchby.value; 
  if(lim.length == 0)
   {
	   alert("Please choose a search option from the Select box") 
	   return false
   }
}