/* TOOGLE LAYER******************************************/function toggleLayer( whichLayer ){	var elem, vis;  	if( document.getElementById ) // this is the way the standards work    	elem = document.getElementById( whichLayer );	  else if( document.all ) // this is the way old msie versions work		elem = document.all[whichLayer];	else if( document.layers ) // this is the way nn4 works		elem = document.layers[whichLayer];	vis = elem.style;  // if the style.display value is blank we try to figure it out here	if(vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)		vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';	vis.display = (vis.display==''||vis.display=='block')?'none':'block';}/* TOOGLE LAYER******************************************/function search(){	document.forms['search_form'].submit();}function searchenter(myfield,e) {		var keycode;	if (window.event) keycode = window.event.keyCode;	else if (e) keycode = e.which;	else return true;	if (keycode == 13){;		search();		return false;	}else{		return true;	}}// colorbox //$(document).ready(function(){//Examples of how to assign the ColorBox event to elements//gallery from image$("a[rel='cbox1']").colorbox({width:800});//and the video lighbox$("a[rel='cboxvideo']").colorbox({iframe:true, width:800, height:550});	// flash swf file$(".cboxflash").colorbox({width:"640px", height:"480px", iframe:true});});
