function quicktime(src, width, height){
	document.write('<object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="'+width+'" height="'+(height+20)+'" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">');
	document.write('<param name="src" value="'+src+'">');
	document.write('<param name="autoplay" value="false">');
	document.write('<param name="controller" value="true">');
	document.write('<embed src="'+src+'" width="'+width+'" height="'+(height+20)+'" autoplay="false" controller="true" pluginspage="http://www.apple.com/quicktime/"></embed>');
	document.write('</object>');
}

function popup(url, w, h /*, resizable=false */){
	var top = Math.max(0, (screen.height-h)/2 );
	var left = Math.max(0, (screen.width-w)/2 );
	var resize = (arguments.length>3)?"true":"false";
	var scroll = (arguments.length>3)?"auto":"false";
	var settings="top="+top+",left="+left+",width="+w+",height="+h+
					",scrollbars="+scroll+",resizable="+resize+",toolbar=false,location=false,"+
					"menubar=false,status=false,directories=false";
	win = window.open(url,url,settings);
	win.window.focus();
}

function fbs_click(/* shareURL=location.href, shareTitle=document.title */) {
  var u = arguments.length >= 1 ? arguments[0] : location.href;
  var t = arguments.length >= 2 ? arguments[1] : document.title;
  var url = 'http://www.facebook.com/sharer.php?u=' + encodeURIComponent(u) +
            '&t=' + encodeURIComponent(t);

  popup(url, 626, 436);

  return false;
}

