// JavaScript Document

$(function(){ 
	$(document).pngFix(); 
});


function thisYear() {
	var data = new Date();
	var this_year = data.getFullYear();
	document.write(this_year);
}


function popup(theURL,theWindow,wWidth,wHeight) {

	var theWindow = (theWindow)?theWindow:"";
	var settings = "status=no,scrollbars=yes,menubar=no,resizable=yes,toolbar=yes,location=no,directory=no";

	if(!wWidth&&!wHeight){
		var win = window.open(theURL,theWindow,''+settings+'');
	}else if(wWidth&&!wHeight){
		var win = window.open(theURL,theWindow,''+settings+',width='+wWidth+'');
	}else if(!wWidth&&wHeight){
		var win = window.open(theURL,theWindow,''+settings+',height='+wHeight+'');
	}else{
		var win = window.open(theURL,theWindow,''+settings+',width='+wWidth+',height='+wHeight+'');
	}
	win.focus();
}
