﻿function modalIE6()
{
	var jqBackground = $("div.modalBackground");
	if (jqBackground.length>0)
	{
		jqBackground = jqBackground.eq(0);
		jqBackground.height(screen.availHeight);
		jqBackground.width(screen.availWidth);
		jqBackground.css("position","absolute");
		
		var jqPopup = $("div.modalPopup.chargecode");
		jqPopup = jqPopup.eq(0);
		jqPopup.css("position","absolute");
		jqPopup.css("top","200px");
	}
}
// Only add the onload event handler for IE6
if ($.browser.msie && $.browser.version==6)
{
	jQuery(modalIE6);
}