function pop(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=300,height=400,scrollbars=yes');
return false;
}

function MM_jumpMenu(targ,selObj,restore){ 
			eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
			if (restore) selObj.selectedIndex=0; }


function popMov(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=440,height=440,scrollbars=yes');
return false;
}

function popMp3(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=220,height=240,scrollbars=yes');
return false;
}

function showPic (whichpic) {
if (document.getElementById) {
document.getElementById('placeholder').src = whichpic.href;
  if (whichpic.title) {
   document.getElementById('desc').childNodes[0].nodeValue = whichpic.title;
  } else {
   document.getElementById('desc').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;
  }
  return false;
 } else {
  return true;
 }
}

function same_as_sender() {
	var fields = new Array('name', 'email', 'address1');
	for (var i = 0; i < fields.length; i++) {
		$("comment_to"+fields[i]).value = $("comment_"+fields[i]).value;
	}
}

function init() {
	// warn IE 5 Mac users
	if (/MSIE/.test(navigator.userAgent) && /Mac/.test(navigator.userAgent)) {
		alert("This site does not support IE5 Mac. Please use the following supported Mac browsers: Safari 1.2+, Firefox 1.0+");
	}
}

//Event.observe(window, 'load', init, false);
window.onload = init;