var folder = ''
function shopLinks()
{
folder=document.getElementById('tblShoppingLinks').style;
folder.display="";
folder=document.getElementById('tblEntLinks').style;
folder.display="none";
folder=document.getElementById('tblCloseLinks').style;
folder.display="";
}
function entLinks()
{
folder=document.getElementById('tblShoppingLinks').style;
folder.display="none";
folder=document.getElementById('tblEntLinks').style;
folder.display="";
folder=document.getElementById('tblCloseLinks').style;
folder.display="";
}
function closeLinks()
{
folder=document.getElementById('tblShoppingLinks').style;
folder.display="none";
folder=document.getElementById('tblEntLinks').style;
folder.display="none";
folder=document.getElementById('tblCloseLinks').style;
folder.display="none";
}
function expandit(curobj)
{
folder=document.getElementById(curobj).style;
if (folder.display=="none")
folder.display="";
else
folder.display="none";
}
function privacy(){
window.open("/bazar/store/policies.htm?1/7/2009 8:01:24 AM","privacypolicy","height=550,width=670,status=yes,scrollbars=yes");
}
function rates(){
window.open("/bazar/store/ratesEng.htm?1/7/2009 8:01:24 AM","rates","height=530,width=680,status=yes,scrollbars=yes");
}
function EmailThisPage(){
window.open("/bazar/store/emailthispage.asp","emailthispage","height=450,width=515,status=yes,scrollbars=yes");
}
function GuestBook(){
window.open("/bazar/guestbook/default.asp","guestbook","height=400,width=790,status=yes,scrollbars=yes,toolbar=yes");
}
function ChatPop()
{
window.open("chat.htm","anmolchat","height=550,width=800,scrollbars=yes,toolbar=no,menubar=no,location=no,resizable=yes");
}
function ShowHide(ControlID,ImageID) {
if (document.getElementById(ControlID).style.display == 'block') {
document.getElementById(ControlID).style.display = 'none';
document.getElementById(ImageID).src = 'images/plus.gif';
}
else {
document.getElementById(ControlID).style.display = 'block';
document.getElementById(ImageID).src = 'images/minus.gif';
}
}
var staticTip = new TipObj('staticTip');
with (staticTip)
{
tipStick = 0;
}
function a1(){
// docTips.hide();
docTips.newTip('inline', 5, 5, 100, 'Click to send Instant Message on Yahoo!');
};
function a2(){
docTips.newTip('inline2', 5, 5, 100, 'Login to your MSN Messenger
and Click here to begin chat with us.
(If it does not work in browsers other
than Internet Explorer, Please send IM
to chat@anmolbazar.com manually.)');
};
function a3(){
docTips.newTip('inline3', 5, 5, 100, 'Call our Help Lines:
> (92) 3217 660 832
> (92) 41 85 80 968
> (92) 41 87 81 632');
};
function a4(){
docTips.newTip('inline4', 5, 5, 70, ' Free Home Delivery in Faisalabad');
};
function a5(){
docTips.newTip('inline5', 5, 5, 100, ' Visitors Online');
};
function a6(){
docTips.newTip('inline6', 5, 5, 100, ' Requests Entertained');
};
function a7(){
docTips.newTip('inline7', 5, 5, 100, ' Click to view Shopping Departments');
};
function a8(){
docTips.newTip('inline8', 5, 5, 100, ' Catelog Browsing & Search Options');
};
function a9(){
docTips.newTip('inline9', 5, 5, 100, ' Entertainment Links');
};
function a10(){
docTips.newTip('inline10', 5, 5, 100, ' Support Options');
};
function a11(){
docTips.newTip('inline11', 5, 5, 100, ' Information Links');
};
function a12(){
docTips.newTip('inline12', 5, 5, 100, ' Latest Store, Local & World News');
};
var docTips = new TipObj('docTips');
with (docTips)
{
template = '';
showDelay = 50;
hideDelay = 200;
doFades = true;
minAlpha = 0;
maxAlpha = 100;
fadeInSpeed = 20;
fadeOutSpeed = 20;
tipStick = 0.5;
IESelectBoxFix = true;
}
/* START Dock Contents - Always visible shopping cart" */
var offsetfromedge=5 //offset from window edge when content is "docked". Change if desired.
var dockarray=new Array() //array to cache dockit instances
var dkclear=new Array() //array to cache corresponding clearinterval pointers
function dockit(el, duration){
this.source=document.all? document.all[el] : document.getElementById(el);
this.source.height=this.source.offsetHeight;
this.docheight=truebody().clientHeight;
this.duration=duration;
this.pagetop=0;
this.elementoffset=this.getOffsetY();
dockarray[dockarray.length]=this;
var pointer=eval(dockarray.length-1);
var dynexpress='dkclear['+pointer+']=setInterval("dockornot(dockarray['+pointer+'])",100);';
dynexpress=(this.duration>0)? dynexpress+'setTimeout("clearInterval(dkclear['+pointer+']); dockarray['+pointer+'].source.style.top=0", duration*1000)' : dynexpress;
eval(dynexpress);
}
dockit.prototype.getOffsetY=function(){
var totaloffset=parseInt(this.source.offsetTop);
var parentEl=this.source.offsetParent;
while (parentEl!=null){
totaloffset+=parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}
function dockornot(obj){
obj.pagetop=truebody().scrollTop;
if (obj.pagetop>obj.elementoffset) //detect upper offset
obj.source.style.top=obj.pagetop-obj.elementoffset+offsetfromedge+"px";
else if (obj.pagetop+obj.docheight'+postEmail+'')
}
function infoEmail(){
var emailArray= new Array(105,110,102,111,64,65,110,109,111,108,66,97,122,97,114,46,99,111,109)
var postEmail=''
for (i=0;i'+postEmail+'')
}
function complaintsEmail(){
var emailArray= new Array(99,111,109,112,108,97,105,110,116,115,64,65,110,109,111,108,66,97,122,97,114,46,99,111,109)
var postEmail=''
for (i=0;i'+postEmail+'')
}
function init(){
lObj=document.links
for (i=0;i]+>/g,'');
return true
}
lObj[i].onmouseout=function(){window.status="";
return true
}
}
}
window.onload = function (){init()}