
// pngfix for ie5-6
if (document.all && /MSIE (5\.5|6)/.test(navigator.userAgent) &&  document.styleSheets && document.styleSheets[0] && document.styleSheets[0].addRule)
 {
  //document.styleSheets[0].addRule('*', 'behavior: url(/css/iepngfix.htc)');
  // Feel free to add rules for specific elements only, as above.
  // You have to call this once for each selector, like so:
  //document.styleSheets[0].addRule('img', 'behavior: url(/css/iepngfix.htc)');
  //document.styleSheets[0].addRule('div', 'behavior: url(/css/iepngfix.htc)');
 }
 
 
        $(function() {
            $("#nav").lavaLamp({
                fx: "backout",
                speed: 700,
                click: function(event, menuItem) {
                   // return false;
                }
            });
        });
		
		
    // add rounded corners to layouts
    if($.browser.msie && $.browser.version =="6.0"){
    }else{

        if(typeof $('#main').corner == 'function'){ // 
            $('.rounded').corner();
        }
        if(typeof $('#sidebar').corner == 'function'){ // 
            $('.rounded').corner();
        }	
        if(typeof $('#wrap').corner == 'function'){ // 
            $('#wrap').corner("bottom");
        }
        if(typeof $('.sf_apply').corner == 'function'){ // 
            $('.sf_apply').corner();
        }		
    }		
	
/*	$(function() {
		$('#wrap').dropShadow({
			blur:4,
			left:0,
			top:0,
			});
		});*/
