
// POPUP --------------------------------------------------------------------------------
/* 	usage: popuplink(['js-only url',] this[, w[, h[, scroll[, resizable [, extras]]]]])
 	basic usage: <a href="popup.html" target="_blank" onclick="return(popuplink(this));">new pop</a>
 	advanced usage: <a href="popup_nojs.html" target="_blank" onclick="return(popuplink('popup_yesjs.html', this, 200, 100, false,false));">new pop</a>  */
	// 	site-wide defaults:
	popup_w = 600;  popup_h = 450;  popup_scroll = true;  popup_resize = false;  popup_extras = 'location=0,status=0,menubar=0';    function popuplink() {  var undef, i=0, args=popuplink.arguments;  var url = (typeof(args[i])=='string') ? args[i++] : args[i].getAttribute('href');  var target = args[i++].getAttribute('target') || '_blank';  var w = args[i++];  var h = args[i++];  var s = (args[i]===undef) ? popup_scroll : args[i++];  var r = (args[i]===undef) ? popup_resize : args[i++];  var scrw=(screen.width/2)-((w || popup_w)/2);  var scrh=(screen.height/2)-((h || popup_w)/2);   if (scrh > 100) { scrh = scrh - 40; }  var features = 'width=' + (w || popup_w)   + ',height=' + (h || popup_h)   + ',scrollbars=' + (s ? 'yes,' : 'no,')   + ',resizable=' + (r ? '1,' : '0,')   + (args[i] || popup_extras)   + ',left='+scrw+',top='+scrh+',screenX='+scrw+',screenY='+scrh; var win = window.open(url, target, features);  win.focus();  return false;  }

function mOverBG(src){
	src.style.backgroundColor='#f7e399';
}
function mOutBG(src){
	src.style.backgroundColor='transparent';
}