function newwindow1(url){
window.location.href=url;
}
		

function bigimg(){
emailwindow=dhtmlmodal.open('EmailBox', 'iframe', 'js/big.html', '','width=485px,height=690px,center=1,resize=0,titlebar=NO,scrolling=0')
emailwindow.onclose=function(){   
return true   }
}


function checkreoccurance(){
if(document.getElementById('reoccurancediv').style.display=="block"){
	document.getElementById('reoccurancediv').style.display="none";
	}else{
	document.getElementById('reoccurancediv').style.display="block";	
		}
 }
 
 function checkpattrern(id,n,t){
  for(i=1;i<=n;i++){
  document.getElementById(t+i).style.display="none";
  }
document.getElementById(id).style.display="block";
 	 }