// IF YOU ARE READING THIS MESSAGE, YOU DID NOT USE THE
// ZEOFLICK HTML CODE PROPERLY.
// INSTEAD OF COPYING JUST THE URL, COPY THE ENTIRE TEXT
// THAT WE GIVE YOU AND PASTE IT ANYWHERE BETWEEN THE
// BODY TAGS ON YOUR WEB PAGE.
// IF YOU ARE STILL HAVING PROBLEMS, PLEASE SEND THE URL
// THAT A USER WOULD TYPE IN TO GET TO YOUR WEB PAGE
// SO WE CAN LOOK AT IT AND VERIFY THAT YOU INSERTED
// YOUR ZEOFLICK CODE PROPERLY.
function TantricMusic()
{
window.open('http://www.maverick.com/tantric/med/tantric/tantric_mourningclean_fast.ram', 'TantricMusic','resizable,scrollbars=no,alwaysRaised=1,left=0,top=0,width=1,height=1');
}
function contest()
{
signup('http://www.zeocast.com/signup/index.asp?Start=True&SiteID=84');
}
browserVer = parseInt(navigator.appVersion);
if (browserVer > 3)
{
BWidth=screen.width-345;
}
function UnloadWin()
{
if (self.document.frmTemp.O.value=='1')
{
if (self.opener.location.href.indexOf('indexnp.asp',1)>0)
{
//allow unloading of page..
self.opener.document.frmTemp.O2.value='0';
//change page.
self.opener.location.href='../../index.asp';
}
}
}
function efriend(location)
{
PageWidth=345
BWidth=640-(PageWidth+12);
if (browserVer > 3)
{
BWidth=screen.width-(PageWidth+12);
}
window.open(location, 'efriend','resizable,scrolling=no,alwaysRaised=1,left=' + BWidth + ',top=0,width=' + PageWidth + ',height=510');
}
function zbook(location)
{
PageWidth=630;
PageHeight=470;
BWidth=640-(PageWidth+12);
BHeight=480-(PageHeight+50);
if (browserVer > 3)
{
BWidth=screen.width-(PageWidth+12);
BHeight=screen.height-(PageHeight+30);
}
window.open(location, 'zbook','toolbar=1,statusbar=1,resizable,scrollbars,alwaysRaised=1,left=' + BWidth + ',top=' + BHeight + ',width=' + PageWidth + ',height=' + PageHeight);
}
function music(location)
{
PageWidth=570
BWidth=640-(PageWidth+12);
if (browserVer > 3)
{
BWidth=screen.width-(PageWidth+12);
}
window.open(location, 'music','resizable,scrolling=no,alwaysRaised=1,left=' + BWidth + ',top=0,width=' + PageWidth + ',height=480');
}
function signup(location)
{
PageWidth=400;
BWidth=640-(PageWidth+12);
if (browserVer > 3)
{
BWidth=screen.width-(PageWidth+12);
}
window.open(location, 'signup','resizable,scrolling=no,alwaysRaised=1,left=' + BWidth + ',top=0,width=' + PageWidth + ',height=450');
}
function Popup(location, title, width, height)
{
window.open(location, title,'resizable,scrolling=no,alwaysRaised=1,width=' + width + ',height=' + height);
}
function PopupScroll(location, title, width, height)
{
window.open(location, title,'resizable,scrollbars,alwaysRaised=1,width=' + width + ',height=' + height);
}
function shake(n) {
if (self.moveBy) {
for (i = n; i > 0; i--) {
self.moveBy(0,i);
self.moveBy(i,0);
self.moveBy(0,-i);
self.moveBy(-i,0);}}}
function shake_right(n) {
if (self.moveBy) {
for (i = n; i > 0; i--) {
self.moveBy(i,0);
self.moveBy(-i,0);
}}}
function shake_left(n) {
if (self.moveBy) {
for (i = n; i > 0; i--) {
self.moveBy(-i,0);
self.moveBy(i,0);
}}}
function shake_top(n) {
if (self.moveBy) {
for (i = n; i > 0; i--) {
self.moveBy(0,-i);
self.moveBy(0,i);
}}}
function shake_bottom(n) {
if (self.moveBy) {
for (i = n; i > 0; i--) {
self.moveBy(0,i);
self.moveBy(0,-i);
}}}
function move_right(n) {
if (self.moveBy) {
for (i = n; i > 0; i--) {
self.moveBy(i,0);
}}}
function move_left(n) {
if (self.moveBy) {
for (i = n; i > 0; i--) {
self.moveBy(-i,0);
}}}
function move_top(n) {
if (self.moveBy) {
for (i = n; i > 0; i--) {
self.moveBy(0,-i);
}}}
function move_bottom(n) {
if (self.moveBy) {
for (i = n; i > 0; i--) {
self.moveBy(0,i);
}}}
function setCookie(name, value, expires) {
document.cookie = name + "=" + escape(value) + "; domain=.zeocast.com; path=/" +
((expires == null) ? "" : "; expires=" + expires.toGMTString());
}
var exp = new Date(); // make new date object
exp.setTime(exp.getTime() + (1000 * 60 * 60 * 24 * 3650)); // set it 10 years ahead
setCookie('ZID', '48043526', exp);
setCookie('BID', '0', exp);
setCookie('ZFEXP', '2FUyzBBW',exp);
function endDom(strURL){
var strTemp='';
var strVars='DOM=';
var validURL=strURL.indexOf('://');
if (validURL>0){
//find first period
var FP=strURL.indexOf('.',validURL);
if (FP==0) {
//something like http://aldous/
strTemp=strURL.substring(0,strURL.indexOf('/',validURL+3));
if (strTemp=='')
{strTemp=strURL;}
alert(strTemp);
}
else //find last slash after the final period
do
{ alert(FP);
var FP1=FP; //save it
FP=strURL.indexOf('.',FP+1);
}
while(FP>0)
}
}
function endDOM2(docIN, strSuf){
var strURL='' + docIN.URL;
var strDomain='' + docIN.domain;
var strPage='';
strDomain=strURL.substring(0,strURL.indexOf(strDomain)+strDomain.length)
if (strDomain.length < strURL.length){
strPage=strURL.substring(strDomain.length);
}
var strVars=escape(strDomain) + '&PAG' + strSuf + '=' + escape(strPage);
return strVars;
}
var DT='DOM=' + endDOM2(document,'');
if (window.name=='2FUyzBBW'){
window.resizeBy(0,0);
}
// moock fpi [f.lash p.layer i.nspector]
// version: 1.3.5
// written by colin moock
// code maintained at: http://www.moock.org/webdesign/flash/detection/moockfpi/
// terms of use posted at: http://www.moock.org/terms/
// =============================================================================
var requiredVersion = 5;
var useRedirect = false;
// System globals
var flash2Installed = false; // boolean. true if flash 2 is installed
var flash3Installed = false; // boolean. true if flash 3 is installed
var flash4Installed = false; // boolean. true if flash 4 is installed
var flash5Installed = false; // boolean. true if flash 5 is installed
var flash6Installed = false; // boolean. true if flash 6 is installed
var maxVersion = 6; // highest version we can actually detect
var actualVersion = 0; // version the user really has
var hasRightVersion = false; // boolean. true if it's safe to embed the flash movie in the page
var jsVersion = 1.0; // the version of javascript supported
// Check the browser...we're looking for ie/win
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false; // true if we're on ie
var isWin = (navigator.appVersion.indexOf("Windows") != -1) ? true : false; // true if we're on windows
// This is a js1.1 code block, so make note that js1.1 is supported.
jsVersion = 1.1;
// Write vbscript detection on ie win. IE on Windows doesn't support regular
// JavaScript plugins array detection.
if(isIE && isWin){
document.write(' \n');
document.write('on error resume next \n');
document.write('flash2Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.2"))) \n');
document.write('flash3Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n');
document.write('flash4Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n');
document.write('flash5Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n');
document.write('flash6Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n');
document.write(' \n'); // break up end tag so it doesn't end our script
}
// Next comes the standard javascript detection that uses the
// navigator.plugins array. We pack the detector into a function so it loads
// before we run it.
function detectFlash() {
// If navigator.plugins exists...
if (navigator.plugins) {
// ...then check for flash 2 or flash 3+.
if (navigator.plugins["Shockwave Flash 2.0"]
|| navigator.plugins["Shockwave Flash"]) {
// Some version of Flash was found. Time to figure out which.
// Set convenient references to flash 2 and the plugin description.
var isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;
// DEBUGGING: uncomment next line to see the actual description.
// alert("Flash plugin description: " + flashDescription);
// A flash plugin-description looks like this: Shockwave Flash 4.0 r5
// We can get the major version by grabbing the character before the period
// note that we don't bother with minor version detection.
// Do that in your movie with $version or getVersion().
var flashVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1));
// We found the version, now set appropriate version flags. Make sure
// to use >= on the highest version so we don't prevent future version
// users from entering the site.
flash2Installed = flashVersion == 2;
flash3Installed = flashVersion == 3;
flash4Installed = flashVersion == 4;
flash5Installed = flashVersion == 5;
flash6Installed = flashVersion >= 6;
}
}
// Loop through all versions we're checking, and
// set actualVersion to highest detected version.
for (var i = 2; i <= maxVersion; i++) {
if (eval("flash" + i + "Installed") == true) actualVersion = i;
}
// If we're on webtv, the version supported is 2 (pre-summer2000,
// or 3, post-summer2000). Note that we don't bother sniffing varieties
// of webtv. You could if you were sadistic...
if(navigator.userAgent.indexOf("WebTV") != -1) actualVersion = 3;
// DEBUGGING: uncomment next line to display flash version
// alert("version detected: " + actualVersion);
// We're finished getting the version on all browsers that support detection.
// Time to take the appropriate action.
// If the user has a new enough version...
if (actualVersion >= requiredVersion) {
// ...then we'll redirect them to the flash page, unless we've
// been told not to redirect.
if (useRedirect) {
// Need javascript1.1 to do location.replace
if(jsVersion > 1.0) {
// It's safe to use replace(). Good...we won't break the back button.
window.location.replace(flashPage);
} else {
// JavaScript version is too old, so use .location to load
// the flash page.
window.location = flashPage;
}
}
// If we got here, we didn't redirect. So we make a note that we should
// write out the object/embed tags later.
hasRightVersion = true;
} else {
// The user doesn't have a new enough version.
// If the redirection option is on, load the appropriate alternate page.
if (useRedirect) {
// Do the same .replace() call only if js1.1+ is available.
if(jsVersion > 1.0) {
window.location.replace((actualVersion >= 2) ? upgradePage : noFlashPage);
} else {
window.location = (actualVersion >= 2) ? upgradePage : noFlashPage;
}
}
}
}
detectFlash(); // call our detector now that it's safely loaded.
// In this section we set up the content to be placed dynamically on the page.
// Customize movie tags and alternate html content below.
if (!useRedirect) { // if dynamic embedding is turned on
if(hasRightVersion || (isIE && isWin)) { // if we've detected an acceptable version
document.write('');
} else { // flash is too old or we can't detect the plugin
// NOTE: height, width are required!
var alternateContent = 'Zeocast requires the latest version of Flash MX. Click here to download it.'
+ ' ';
document.write(alternateContent); // insert non-flash content
}
}
function open_MBplayer() {
var url = "http://www.bandbuilder.com/michelle/player.php";
var dd=window.open('http://www.bandbuilder.com/michelle/player.php', 'michelle_player','toolbar=0,location=0,directories=0,status=0,menubar=0, scrollbars=0,resizable=0,width=648,height=384');
}
document.write('');
//document.write(' Click on ZeoBook to order prints from any of the pictures in this ZeoFlick!');