function pop1(poppy){
popWindow = window.open(poppy,'popWin','width=650,height=400,scrollbars=yes,toolbar=yes,status=yes,menubar=no')
popWindow.moveTo((screen.width/2)-325,(screen.height/2)-200);
popWindow.focus()
popWindow.moveTo((screen.width/2)-325,(screen.height/2)-200);
}

function pop2(poppy){
popWindow = window.open(poppy,'popWin','width=400,height=200,scrollbars=no,toolbar=no,status=no,menubar=no')
popWindow.moveTo((screen.width/2)-200,(screen.height/2)-100);
popWindow.focus()
popWindow.moveTo((screen.width/2)-200,(screen.height/2)-100);
}

var appVer = navigator.appVersion.toLowerCase();
var agt = navigator.userAgent.toLowerCase();
var bName = navigator.appName;
var ie = false;
var iePos = agt.indexOf('msie');
var operaPos = agt.indexOf('opera');
var ns6Pos = agt.indexOf('netscape6');
var bVersion = parseFloat(appVer);
var sE = uL = sL = '';
var bL = navigator.language;
if (!bL) bL = 'N/A';
var wid=screen.width;
var h=screen.height;
if (iePos!=-1 && operaPos==-1) {
  ie = true;
  bVersion = parseFloat(
            agt.substring(iePos+5,agt.indexOf  (';',iePos))
            );
}
else if (operaPos!=-1) {
 bVersion = ParseFloat(
           agt.substring(operaPos+5,agt.indexOf('[',operaPos))
           );
 bName= "Opera";
}
else if (ns6Pos !=-1) {
 bVersion = parseFloat(
           agt.substring(ns6Pos+10)
           );
}


//alert('Browser: '+bName+' Version: '+bVersion)

if (bVersion < 5) {
	//document.write("Not good")
	window.location="../sorry.html";
}

if (bName == "Netscape")
{
	//alert('Net Net')
	var theLeft = 12
	var theTop = 116
} else {
	var theLeft = 14
	var theTop = 123
}

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}


timegap=500				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=5;		// Sub menu offset Top position
suboffset_left=20;		// Sub menu offset Left position

style1=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"CCCCCC",				// Mouse Off Font Color
"000033",				// Mouse Off Background Color
"000033",				// Mouse On Font Color
"696993",				// Mouse On Background Color
"8080C0",				// Menu Border Color
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Arial, Verdana",		// Font Name
2,						// Menu Item Padding
"",						// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
"ffffff",				// Current Page Item Font Color (leave this blank to disable)
"696993",				// Current Page Item Background Color (leave this blank to disable)
"",						// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000000",				// Menu Header Background Color (Leave blank if headers are not needed)
]



addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
theTop,				// Menu Top - The Top position of the menu in pixels
theLeft,			// Menu Left - The Left position of the menu in pixels
140,				// Menu Width - Menus width in pixels
0,					// Menu Border Width
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a com:3000bination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 					// Horizontal Menu - Tells the menu to becom:3000e horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"&nbsp;&nbsp;What's New","http://www.mysterymag.com/whatsnew/index.php","","Whats New",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;&nbsp;Haunted Britain","show-menu=haunted","http://www.mysterymag.com/hauntedbritain/index.php","Haunted Britain",1
,"&nbsp;&nbsp;Weird America","show-menu=america","http://www.mysterymag.com/weirdamerica/index.php","Weird America",1
,"&nbsp;&nbsp;The Unexplained","show-menu=explained","http://www.mysterymag.com/theunexplained/index.php","The Unexplained",1
,"&nbsp;&nbsp;Earth Mysteries","show-menu=earth","http://www.mysterymag.com/earthmysteries/index.php","Earth Mysteries",1
,"&nbsp;&nbsp;Casebook","show-menu=casebook","http://www.mysterymag.com/casebook/index.php","Casebook",1
,"&nbsp;&nbsp;Movies","http://www.mysterymag.com/movies/index.php","","Movies",1
,"&nbsp;&nbsp;Audio","http://www.mysterymag.com/audio/index.php","","Audio",1
,"&nbsp;&nbsp;Gallery","http://www.mysterymag.com/gallery/index.php","","Gallery",1
,"&nbsp;&nbsp;Your Experiences","show-menu=yourexperiences","http://www.mysterymag.com/yourexperiences/index.php","Your Experiences ",1
,"&nbsp;&nbsp;Forum","http://www.mysterymag.com/forum/index.php","","Forum",1
,"&nbsp;&nbsp;Shop","http://www.paranormalshop.co.uk/?mysterymag",,"The Paranormal Shop",1
,"&nbsp;&nbsp;Mystery Mag","show-menu=mystery","http://www.mysterymag.com/mysterymag/index.php","Mystery Mag",1
,"&nbsp;&nbsp;Join MM Extra","http://www.mysterymag.com/join/index.php",,"Join MM Extra",1
])
