

$(document)
.ready(
function() {
	
	$("a[@class^=poplink]").click(function() {
		cl = $(this).attr("class").match(/poplink[^\s]+/) || [];

		if(cl.length && cl[0].indexOf('_') != -1) {
			w = eval(cl[0].split('_')[1]);
			h = eval(cl[0].split('_')[2]);
		}
		else {
			var w = 400, h = 400;
		}
		$.jqURL.loc( $(this).attr("href"), { w:w,h:h,wintype:'_blank' } );
		return false;
	 });									


});