function showMoreInfo(destination,section,listing) {
	moreInfoWindow=window.open('http://www.canadianmaritimes.com/destinations/'+destination+'/'+section+'/info_'+listing+'.htm', listing,'width=600,height=500,left=200,top=200,toolbar=no,location=No,scrollbars=No,status=No,resizable=Yes,fullscreen=No');
	moreInfoWindow.focus(); 
	return;
}

function showCurrencyConverter() {
	CCWindow=window.open('../../../currency_converter.htm','CurrencyConverter','width=400,height=225,left=150,top=150,toolbar=no,location=No,scrollbars=No,status=No,resizable=Yes,fullscreen=No'); 
	CCWindow.focus(); 
	return;
}

function showTempConverter() {
	TCWindow=window.open('../../../temp_converter.htm','TempConverter','width=400,height=225,left=100,top=100,toolbar=no,location=No,scrollbars=No,status=No,resizable=Yes,fullscreen=No'); 
	TCWindow.focus(); 
	return;
}

function showLinkPreview(linkName,linkWidth,linkHeight) {
	previewWindow=window.open('linktous_preview.htm','LinkPreview','width=610,height=305,left=100,top=100,toolbar=no,location=No,scrollbars=No,status=No,resizable=Yes,fullscreen=No');
		
	var imageWidth = parseInt(linkWidth);
	var imageHeight = parseInt(linkHeight);
	var hrefLink = "http://www.canadianmaritimes.com/destinations/" + linkName + "/home/home.htm";
	var linkCode = "<a href='" + hrefLink + "' target='_blank'><img src='http://www.canadianmaritimes.com/images/linktous/" + linkName + "link" + imageWidth + ".gif ' alt='Canadian Maritimes Link' name='CanadianMaritimesLink' width='" + imageWidth + "' height='" + imageHeight + "' border='0' id='CanadianMaritimesLink'></a>";
	
	while (previewWindow.document.readyState != "complete") {;}
	
	if (previewWindow.document.readyState == "complete") {
		previewWindow.document.getElementById("previewCode").innerHTML = linkCode;
		previewWindow.document.getElementById("copyCode").innerHTML = "<textarea name='HTMLCode' cols='50' rows='6' id='HTMLCode' class='NormalText'>" + linkCode + "</textarea>";
	}

	previewWindow.focus();

	return;
}