window.addEvent('domready', function() {	
									 

  	  	$$('.venue_class_tab').each(function(img) {
	img.addEvent('click', function() { 
		if(img.get('rev')=='ch'){
		$('per_petimg').set('src',img.get('rel'));
		}
	});
  });

  	  	$$('.langbtn').each(function(img) {
									 
									 
	img.addEvent('mouseover', function() { 
	img.set('tween',{duration:300,transition: Fx.Transitions.Bounce.easeOut});
	img.tween('margin-top', 0);
	});
	img.addEvent('mouseout', function() { 
	img.set('tween',{duration:300,transition: Fx.Transitions.Bounce.easeOut});
	img.tween('margin-top', -10);
	});
  });
	

  	  	$$('.disable_link').each(function(img) {
	img.set('opacity','0.5'); 		
	img.set('href','#'); 					 
	img.addEvent('mouseover', function() { 
	this.setStyle('background-position','0 0'); 
	});	 
  });
	
	
  	  	$$('.mix_btn').each(function(img) {
									 
									 
	img.addEvent('mouseover', function() { 
	this.set('opacity','0.7'); 
	});
	img.addEvent('mouseout', function() { 
	this.set('opacity','1'); 
	});
  });
	

  });
if (document.all && /MSIE (5\.5|6)/.test(navigator.userAgent) &&
  document.styleSheets && document.styleSheets[0] && document.styleSheets[0].addRule)
 {
 document.styleSheets[0].addRule('ul', 'behavior: url(../css/iepngfix.htc)');
 document.styleSheets[0].addRule('li', 'behavior: url(../css/iepngfix.htc)');
 document.styleSheets[0].addRule('img', 'behavior: url(../css/iepngfix.htc)');
 document.styleSheets[0].addRule('div', 'behavior: url(../css/iepngfix.htc)');
 document.styleSheets[0].addRule('a', 'behavior: url(../css/iepngfix.htc)');

 }


var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
win=window.open(mypage,myname,settings);}


