// JavaScript Document
function yakfreePhone() 
{
	var iMyWidth;
	var iMyHeight;
	var phoneW = 220;
	var phoneH = 370;

	iMyWidth = (window.screen.width - phoneW - 20);
	iMyHeight = (window.screen.height - phoneH - 70);
	
	var alertMessage = "You are about to make a free webcall - a phone call through your computer.  To do this, you'll need either a headset or a microphone with speakers.  Before the call is placed you'll have the opportunity to adjust your microphone to ensure optimal quality.";
	
	if(confirm(alertMessage))
	{
		//Open the window.
		var win2 = window.open(yakfreePartnerURL,"Window2","status=no,height="+phoneH+",width="+phoneW+",resizable=0,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no,resizable=no");
		win2.focus();
	}

}
var yakfreePartnerURL = 'http://www.yakfree.com/partners/eavul954hj/PhoneApplication.html'