function printpage()
{
		window.print();
}

/*javascript:(function(){
										 
var mode=document.compatmode,m;
if(mode){
	if(mode=='BackCompat')m='quirks';
	else if(mode=='CSS1Compat')m='Standards Compliance';
	else m='Almost Standards Compliance';
	alert('The document is being rendered in '+m+' mode.');
	}})();*/

var z_popup = 1000;

function goToPage(value)
{
		if(value != '')
		{
			window.document.location.href = value;
		}
}

 $(document).ready(function() {
														
														
   
	 var container = jQuery('#contents_inner2');
	 var contents = jQuery('#colls_outer');
	 var background = jQuery('#background');
	 
	 background.fadeIn('slow').css('z-index',20);
 
	 contents.css({
			'position':'absolute',
			'z-index': 20
	 });
	 
	 var image_h = jQuery('#background > img').height();
	 var cols_h = jQuery('#colls_outer').height();	 
	 var content_h = Math.max(image_h,cols_h) + "px"; 
 
	 container.css({
			'height':content_h,
			'z-index': 19
	 });	 
	 //container.animate( { height: content_h}, 2 );

	jQuery('ul.sf-menu').superfish({ 
            delay:       500,                            // one second delay on mouseout 
            //animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
            //speed:       'fast',                          // faster animation speed 
            autoArrows:  true,                           // disable generation of arrow mark-up 
            dropShadows: false ,													// disable drop shadows 
						pathLevels:    1
        });  
	
	jQuery('#navi_main > .sf-menu').css('z-index',51);
	
	//alert(background.css('z-index'))
	//alert($('.sf-menu').css('z-index'))
	 
 });
