$(document).ready(function(){
		$(document).pngFix();
		$('#divtop').topZIndex();	
		
}); 

$(function ()
{
/*$(window).bind('load', function()
{
		var rH = $('#rightcolumn').height();
		var cH = $('#content-edit').height();
		var rHtag = rH+"px";
		if(rH > cH){
		$('#contentdock').css('height',rHtag);
		return false;
		}
});*/


$(".rollover").hover(function() {      
                var currentImg = $(this).attr("src");
                $(this).attr("src", $(this).attr("hover"));
                $(this).attr("hover", currentImg);
            }, function() {
                var currentImg = $(this).attr("src");
                $(this).attr("src", $(this).attr("hover"));
                $(this).attr("hover", currentImg);
});
	
var fn = function() {
	var flashvars = {};	
	var params =
      {
        'allowfullscreen': 'true',
        'wmode': 'transparent',
        'menu': 'false'
      };
	var attributes = {};
swfobject.embedSWF("include/res_Secure.swf", "dockr", "540", "200", '9.0.124',  "include/expressInstall.swf", flashvars, params, attributes);	
};swfobject.addDomLoadEvent(fn);
});

function NewWindowTop(mypage,myname,w,h,scroll,resize){
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable='+resize;
	win = window.open(mypage,myname,settings);
	if (window.focus) {win.focus()}
	return false;

}


