<!-- 
function min_store(url1,name,width,height,top,left) {
	eocstore(url1, name, width, height, top, left);
	}

function pop_store(url1,name,width,height,top,left,toolbar) {
	if (width == null ) {
		width = "500" ;
	}
	if (height == null)  {
		height = "400" ;
	}
	if (top == null)  {
		top = "10" ;
	}
	if (left == null)  {
		left = "10" ;
	}
	if (toolbar == null)  {
		toolbar = "yes" ;
	}
	setTimeout('', 1000);
	var popWin = window.open(url1, name, "scrollbars=yes,resizable=yes,toolbar=" + toolbar + ",history=no,width=" + width + ",height=" + height + ", top=" + top + ", left=" + left);
	}

function pop_img(url1, name, width, height, top, left, yesno) {
	if (width == null) {
		width = "300" ;
	}
	if (height == null)  {
		height = "400" ;
	}
 	if (top == null)  {
		top = "10" ;
	}
	if (left == null)  {
		left = "10" ;
	}
	if (name == null) {
		name = "picture";
	}
	if (yesno == null) {
		yesno = "no";
	}
	var popWin = window.open(url1, name,"scrollbars=yes,resizable=yes,toolbar=no,history=no,width=" + width + ",height=" + height + ", top=" + top + ", left=" + left);
	// var popWin = window.open(url1, name);
}
// setTimeout('', 150);
// var popWin = window.open("http://www.eoutletcenter.com/pop_img.asp?" + url1, name, "scrollbars=yes,resizable=yes,toolbar=no,history=no,width=" + width + ",height=" + height + ", top=" + top + ", left=" + left);	


function eocstore_asp(url1, name, width, height, top, left, toolbar, history, frpage) {
	if (width == null ) {
		width = "795" ;
	}
	if (height == null)  {
		height = "450" ;
	}
 	if (top == null)  {
		top = "10" ;
	}
	if (left == null)  {
		left = "5" ;
	}
	if (toolbar == null) {
		toolbar = "yes" ;
	}
	if (history == null) {
		history = "yes" ;
	}
	if (frpage == null) {
		frpage = "frpageb.asp" ;
	}
	name = "eoc";
	setTimeout('', 500);
	// popWin = window.open("http://www.eoutletcenter.com/" + frpage + "?" + url1, name,"scrollbars=yes,resizable=yes,toolbar=" + toolbar + ",history=" + history + ",width=" + width + ",height=" + height + ", top=" + top + ", left=" + left);
        // fixup when asp back up
	var popWin = window.open(url1, name,"scrollbars=yes,resizable=yes,toolbar=" + toolbar + ",history=" + history + ",width=" + width + ",height=" + height + ", top=" + top + ", left=" + left);
	popWin.focus();
	}


function eocstore(url1, name, width, height, top, left, toolbar, history) {
	if (width == null ) {
	     width = "800" ;
	}
	 if (height == null)  {
	     height = "600" ;
	}
	if (top == null)  {
		top = "10" ;
	}
 	if (left == null)  {
    	 left = "10" ;
	}

	if (toolbar == null) {
		toolbar = "yes" ;
	}
	if (history == null) {
		history = "yes" ;
	}
	name = "eoc";

	var popWin = window.open(url1, name,"scrollbars=yes,resizable=yes,toolbar=" + toolbar + ",history=" + history + ",width=" + width + ",height=" + height + ", top=" + top + ", left=" + left);

 	setTimeout('', 1500);
        if (popWin) {
	     popWin.focus();
	}
	
	//else {
        //   alert("The information you requested will be displayed in a new window.\n\nBecause of this, please enable pop-ups for our site. \nWe will only display the information you request.\n\nThank you.");
        // }

	// self.blur();

	}

function eocstore_bf(url1, name, width, height, top, left, toolbar, history) {
	if (width == null ) {
	     width = "800" ;
	}
	 if (height == null)  {
	     height = "600" ;
	}
	if (top == null)  {
		top = "10" ;
	}
 	if (left == null)  {
    	 left = "10" ;
	}

	if (toolbar == null) {
		toolbar = "yes" ;
	}
	if (history == null) {
		history = "yes" ;
	}
	var myRegExpin = /&/g;
	var myRegExpOut = /%26/
	url1 = url1.replace(myRegExpin,"%26");
	url1 = url1.replace("%26","&");
	url1 = url1.replace("%26","&");
	url1 = url1.replace("%26","&");

	name = "eoc";
 	setTimeout('', 1000);
	var popWin = window.open(url1, name,"scrollbars=yes,location=yes,resizable=yes,toolbar=" + toolbar + ",history=" + history + ",width=" + width + ",height=" + height + ", top=" + top + ", left=" + left);
	// "scrollbars=yes,resizable=yes,toolbar=" + toolbar + ",history=" + history + ",width=" + width + ",height=" + height + ", top=" + top + ", left=" + left);
	popWin.focus();
	// self.blur();
	}

function pop_enc(url1,name,width,height,top,left,toolbar) {	
	if (width == null ) {
		width = "800" ;
	}
	if (height == null)  {
		height = "600" ;
	}
	if (top == null)  {
		top = "10" ;
	}
	if (left == null)  {
		left = "10" ;
	}
	if (toolbar == null)  {
		toolbar = "yes" ;
	}
	var location ;
	location = "no" ;
	name = "eoc";
	var popWin;
	var arrayURL = new Array(); 

	arrayURL = url1.split("?", 3);
	arrayURL[1] = arrayURL[1].replace(":","%3A");	
	arrayURL[1] = arrayURL[1].replace("/","%2F");	
	arrayURL[1] = arrayURL[1].replace(".","%2E");
	arrayURL[2] = arrayURL[2].replace("_","%255F");
	//arrayURL[2] = arrayURL[2].replace("=","%3D");
	//arrayURL[2] = arrayURL[2].replace("&","%26");
	arrayURL[2] = arrayURL[2].replace(/=/g,"%3D");
	arrayURL[2] = arrayURL[2].replace(/&/g,"%26");
	popWin = window.open(arrayURL[0] + "?" + arrayURL[1] + "%3F" + arrayURL[2], name, "scrollbars=yes,resizable=yes,toolbar=" + toolbar + ",history=no,width=" + width + ",height=" + height + ", top=" + top + ", left=" + left + ", location=" + location);
	setTimeout('', 1500);
	popWin.focus();
	//setTimeout('', 1000);
	//self.blur();

}

function opendept(form) {
	var myindex=form.dept.selectedIndex
//	var deptwin="http://www.eoutletcenter.net" + form.dept.options[myindex].value;
	window.location.href=form.dept.options[myindex].value;
//	window.location.href=deptwin;
	} 

var pageurl=(location.href)
var pagetitle=(document.title)
var siteurl="http://www.eOutletCenter.net"
var sitetitle="eOutletCenter: Discounts, Deals, Factory and Retail Direct Bargains"

function addpagebookmark(){
if (document.all)
window.external.AddFavorite(pageurl,pagetitle)
}
function addsitebookmark(){
if (document.all)
window.external.AddFavorite(siteurl,sitetitle)
}
// -->
