Excerpt from product page





Index







var hwndPopup_2a44;
function openpopup_2a44(url){
var popupWidth = 700;
var popupHeight = 700;
var popupTop = 300;
var popupLeft = 300;
var isFullScreen = false;
var isAutoCenter = true;
var popupTarget = "popupwin_2a44";
var popupParams = "toolbar=1, scrollbars=1, menubar=1, status=1, resizable=1";

if (isFullScreen) {
popupParams += ", fullscreen=1";
} else if (isAutoCenter) {
popupTop = parseInt((window.screen.height - popupHeight)/2);
popupLeft = parseInt((window.screen.width - popupWidth)/2);
}

var ua = window.navigator.userAgent;
var isMac = (ua.indexOf("Mac") > -1);

//IE 5.1 PR on OSX 10.0.x does not support relative URLs in pop-ups the way they're handled below w/ document.writeln
if (isMac && url.indexOf("http") != 0) {
url = location.href.substring(0,location.href.lastIndexOf('\/')) + "/" + url;
}

var isOpera = (ua.indexOf("Opera") > -1);
var operaVersion;
if (isOpera) {
var i = ua.indexOf("Opera");
operaVersion = parseFloat(ua.substring(i + 6, ua.indexOf(" ", i + 8)));
if (operaVersion > 7.00) {
var isAccessible = false;
eval("try { isAccessible = ( (hwndPopup_2a44 != null) && !hwndPopup_2a44.closed ); } catch(exc) { } ");
if (!isAccessible) {
hwndPopup_2a44 = null;
}
}
}
if ( (hwndPopup_2a44 == null) || hwndPopup_2a44.closed ) {

if (isOpera && (operaVersion < 7)) {
if (url.indexOf("http") != 0) {
hwndPopup_2a44 = window.open(url,popupTarget,popupParams + ((!isFullScreen) ? ", width=" + popupWidth +", height=" + popupHeight : ""));
if (!isFullScreen) {
hwndPopup_2a44.moveTo(popupLeft, popupTop);
}
hwndPopup_2a44.focus();
return;
}
}
if (!(window.navigator.appName == "Netscape" && !document.getElementById)) {
//not ns4
popupParams += ", width=" + popupWidth +", height=" + popupHeight + ", left=" + popupLeft + ", top=" + popupTop;
} else {
popupParams += ", left=" + popupLeft + ", top=" + popupTop;
}
//alert(popupParams);
hwndPopup_2a44 = window.open("",popupTarget,popupParams);
if (!isFullScreen) {
hwndPopup_2a44.resizeTo(popupWidth, popupHeight);
hwndPopup_2a44.moveTo(popupLeft, popupTop);
}
hwndPopup_2a44.focus();
with (hwndPopup_2a44.document) {
open();
write("");
close();
}
} else {
if (isOpera && (operaVersion > 7.00)) {
eval("try { hwndPopup_2a44.focus(); hwndPopup_2a44.location.href = url; } catch(exc) { hwndPopup_2a44 = window.open(\""+ url +"\",\"" + popupTarget +"\",\""+ popupParams + ", width=" + popupWidth +", height=" + popupHeight +"\"); } ");
} else {
hwndPopup_2a44.focus();
hwndPopup_2a44.location.href = url;
}
}

}














&nbsp; Shuriken Systems &nbsp;presents...
















NOW IS THE TIME to learn how you can fit simple, quick exercises into your daily life!

Sites you may be interested in