﻿
$(document).ready(function(){$('a[rel="popup"]').click(function(e){window.open($(this).attr('href'),'popup','width=650,height=400,scrollbars=1,resizable=1');e.preventDefault();});});function showPopup(href){window.open(href,'popup','width=650,height=400,scrollbars=1,resizable=1');}
var currentPopup=null;$(document).ready(function(){$(".htmlPopup").each(function(){$(this).css("position","absolute");$(this).hide();});$(".htmlPopup .hd a").click(function(e)
{e.stopPropagation();if(currentPopup)
currentPopup.hide();return false;});});function showHtmlPopup(whichOne)
{whichOne=whichOne.replace(" ","");if(currentPopup)
currentPopup.hide();$(whichOne).show();currentPopup=$(whichOne);return false;}