var sExtTargetUrl = null;
var wndExtPop = null;

function PopupPrivacy()
{
	var s="Privacy Statement: \n\nThis web site does not collect personally identifiable information about you unless you provide the information in the contact form or in a form required to obtain the license to use some content available through the web site.\n\nOstyn Consulting will not disclose a user's personally identifiable information to any third party without the user's express permission. We do not sell, rent or lease our customer lists to third parties. Ostyn Consulting may, from time to time, contact you about a particular offering that may be of interest to you. Ostyn Consulting will only disclose your personal information, without notice, if required to do so by law or in the good faith belief that such action is necessary to: (a) conform to the edicts of the law or comply with legal process served on Ostyn Consulting or the site; (b) protect and defend the rights or property of Ostyn Consulting; and, (c) act under exigent circumstances to protect the personal safety of users of Ostyn Consulting, its web sites, or the public."

alert(s)
}


function urlpath(url){
	var pth = url;
	if (pth == null) {
		pth = window.location.href;
	}
	var p = pth.lastIndexOf("/");
	if (p > 0){
		pth = pth.substr(0,++p);
	} else {
		p = pth.lastIndexOf("\\");
		if (p > 0){
			pth = pth.substr(0,++p);
		}
	}
	//alert(pth);
	return pth
}

function PopExternalLink(url) {
	//alert(url);
	sExtTargetUrl = url;
	if ((wndExtPop) && (!(wndExtPop.closed))) {
		wndExtPop.location.href = "about:blank";
		wndExtPop.location.href = urlpath() + "extpop.htm";
	} else {
		wndExtPop = window.open(urlpath() + "extpop.htm")
	}
}

//alert("script ok")

function CheckFrame()
{
		if ((window.parent) && (window.parent != window))
		{
			window.top.location.href = window.location.href
		}
}

function handleOnLoad()
{
	CheckFrame();
	return;
}


