
﻿﻿function getProductListStatic(mainDiv,currDiv,theFlag,catID,noOfProducts,bigPicPageName)
{if(catID!=null&&noOfProducts!=null&&bigPicPageName!=null)
{if(mainDiv!=null&&currDiv!=null)
{var allDiv=mainDiv.getElementsByTagName('a');for(i=0;i<allDiv.length;i++)
{allDiv[i].className="";}
currDiv.className="subselected";}
var xmlHttpReq=false;var self=this;if(window.XMLHttpRequest)
{self.xmlHttpReq=new XMLHttpRequest();}
else if(window.ActiveXObject)
{self.xmlHttpReq=new ActiveXObject("Microsoft.XMLHTTP");}
self.xmlHttpReq.open('POST',"ajaxgetproductrakhi.aspx",true);self.xmlHttpReq.setRequestHeader('Content-Type','application/x-www-form-urlencoded');self.xmlHttpReq.onreadystatechange=function()
{if(self.xmlHttpReq.readyState==4)
{var GetValue=new Array();if(self.xmlHttpReq.responseText.indexOf('`'!=-1))
{GetValue=self.xmlHttpReq.responseText.split("`");if(GetValue[0].toString()!="")
{if(GetValue[0].toString()=="0")
{}
else
{theFlag.innerHTML=GetValue[1].toString();}}
else
{}}}
else
{theFlag.innerHTML="<img src=\"Pictures/loading.gif\" width=\"20\" height=\"20\" class=\"loadImg\">";}}
self.xmlHttpReq.send("mode=0&catID="+catID+"&noOfProducts="+noOfProducts+"&bigPicPageName="+bigPicPageName);}}
function getProductList(mainDiv,currDiv,theFlag,catID,noOfProducts,bigPicPageName)
{if(catID!=null&&noOfProducts!=null&&bigPicPageName!=null)
{if(mainDiv!=null&&currDiv!=null)
{var allDiv=mainDiv.getElementsByTagName('a');for(i=0;i<allDiv.length;i++)
{allDiv[i].className="";}
currDiv.className="subselected";}
var xmlHttpReq=false;var self=this;if(window.XMLHttpRequest)
{self.xmlHttpReq=new XMLHttpRequest();}
else if(window.ActiveXObject)
{self.xmlHttpReq=new ActiveXObject("Microsoft.XMLHTTP");}
self.xmlHttpReq.open('POST',"ajaxgetproductrakhi.aspx",true);self.xmlHttpReq.setRequestHeader('Content-Type','application/x-www-form-urlencoded');self.xmlHttpReq.onreadystatechange=function()
{if(self.xmlHttpReq.readyState==4)
{var GetValue=new Array();if(self.xmlHttpReq.responseText.indexOf('`'!=-1))
{GetValue=self.xmlHttpReq.responseText.split("`");if(GetValue[0].toString()!="")
{if(GetValue[0].toString()=="0")
{}
else
{theFlag.innerHTML=GetValue[1].toString();}}
else
{}}}
else
{theFlag.innerHTML="<img src=\"Pictures/loading.gif\" width=\"20\" height=\"20\" class=\"loadImg\">";}}
self.xmlHttpReq.send("mode=1&catID="+catID+"&noOfProducts="+noOfProducts+"&bigPicPageName="+bigPicPageName);}}
function getProductListAll()
{var xmlHttpReq=false;var self=this;if(window.XMLHttpRequest)
{self.xmlHttpReq=new XMLHttpRequest();}
else if(window.ActiveXObject)
{self.xmlHttpReq=new ActiveXObject("Microsoft.XMLHTTP");}
self.xmlHttpReq.open('POST',"ajaxgetproductrakhi.aspx",true);self.xmlHttpReq.setRequestHeader('Content-Type','application/x-www-form-urlencoded');self.xmlHttpReq.onreadystatechange=function()
{if(self.xmlHttpReq.readyState==4)
{var GetValue=new Array();if(self.xmlHttpReq.responseText.indexOf('`'!=-1))
{GetValue=self.xmlHttpReq.responseText.split("`");if(GetValue[0].toString()!="")
{if(GetValue[0].toString()=="0")
{}
else
{document.getElementById('rakhiscontentproduct').innerHTML=GetValue[1].toString();document.getElementById('Rakhi').className="subselected";document.getElementById('giftsforbrothercontentproduct').innerHTML=GetValue[2].toString();document.getElementById('MensCare').className="subselected";document.getElementById('giftsforsistercontentproduct').innerHTML=GetValue[3].toString();document.getElementById('Cosmetics').className="subselected";document.getElementById('giftsforkidscontentproduct').innerHTML=GetValue[4].toString();document.getElementById('BarbieDolls').className="subselected";document.getElementById('giftsforbhaiyaandbhabhicontentproduct').innerHTML=GetValue[5].toString();document.getElementById('Electronics').className="subselected";}}
else
{}}
else
{document.getElementById('rakhiscontentproduct').innerHTML="<img src=\"Pictures/loading.gif\" width=\"20\" height=\"20\" class=\"loadImg\" />";}}
else
{document.getElementById('rakhiscontentproduct').innerHTML="<img src=\"Pictures/loading.gif\" width=\"20\" height=\"20\" class=\"loadImg\" />";}}
self.xmlHttpReq.send("mode=2");}
function func(v)
{}
