
// BugSherpa.com - javascript remote

url = document.location.href;
if (url.indexOf("http://") == 0) url = url.substring(7);
if (url.indexOf("https://") == 0) url = url.substring(8);
url = escape(url);


function launchRemoteWindow() {
	var reportWindow = window.open ("http://www.bugsherpa.com/remote_report/?id=6&key=1679091c5a880faf6fb5e6087eb1b2dc&url=" + url,"launchWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=540,height=690");
	reportWindow.focus();
}

//document.write('<img src="http://www.bugsherpa.com/images/bug.png" width="60" height="60" border="0" style="position: absolute; z-index: 2000; top: 0; right: 0;" alt="Report A Bug" usemap="#bug_button" />');
//document.write('<map name="bug_button"><area shape="poly" coords="0,0,60,0,60,60,0,0" href="javascript:launchRemoteWindow();" alt=""></map>');
document.write('<a href="#" onclick="launchRemoteWindow()"><img src="http://www.bugsherpa.com/images/bug.png" width="60" height="60" border="0" style="position: absolute; z-index: 2000; top: 0; right: 0;" alt="Report A Bug" /></a>');
