// frame_manager.js

//  Copyright © 2001, Shop@ssistant eCommerce Solutions Ltd.
//  Shop@ssistant Version MC4 by Rodney Myers

// vital vars default_page  and userMainFrame set in startup[4frameset].js
var Debug=false;
var myFrame; // for BOSS compatibility

function  getFile(){
var frame_location,fobject;
if(top.Debug){alert("window.location.href = "+window.location.href+"\ntop.ShopLocation = "+top.ShopLocation+"\ntop.NewFile = "+top.NewFile);}
if(window.name=="shopping")
 {
  top.SYS.visibleFrameset=true;
  top.SYS.visibleFrameName=userMainFrame;

var type = typeof top.NewFile;
if(type!="undefined")
	{
	  fobject=top.SYS.bizFrame();
	   if(top.filenameOnly(top.NewFile)==top.filenameOnly(window.location.href))
		 {frame_location = top.SYS.pagepath+default_page;}
	   else {frame_location = top.NewFile;}
	}
else { fobject=window;frame_location="javascript:''"; }


 }
 else
 {
  fobject=eval("window."+userMainFrame);frame_location=default_page;
 }
fobject.location.href=frame_location;
myFrame=fobject;
}

waiting1=false;