// window features for specific types of popup
popup.types = {

	// types are case-insensitive

	"printer_friendly_recipe"	: "width=520,height=550",
	"hottest_chef_rules"	: "width=550,height=500"	// IMPORTANT: NO COMMA ON THE LAST ONE!
	
};


//  *** YOU PROBABLY SHOULD NOT CHANGE ANYTHING BELOW THIS LINE ***  //


// window features for all popups
popup.all = "resizable=yes,scrollbars=yes";

function popup(/*Html <a...> Element*/ a, /*string*/ type)
{
	type = type.toLowerCase();
	window.open(a.href,type+"_popup",popup.all+','+popup.types[type]);
	
	return false;
}

(function() {
	for (var type in popup.types) {
		popup.types[type.toLowerCase()] = popup.types[type];
	}
})();