// Common, useful jQuery extensions here
jQuery.fn.exists = function(){return jQuery(this).length>0;} // Usage: if($(".element").exists()) { /* do something */ }
function popUp(url, width, height) {
	args = "location=no, menubar=no, scrollbars=yes, status=no, titlebar=no, toolbar=no, resizable=yes, height=" + height + ",width=" + width + ",directories=no";
	newwindow = window.open(url, "popWindow", args); 
	if (window.focus) {newwindow.focus()}
}


jQuery(document).ready(function($) {
	// jQuery code here
});


