function showProductList()
{   
    var url = "http://" + document.location.host + q.appRoot + "httpAction.aspx?action=collectioninfo";
	document.location.href = url;
}

function goDoc()
{
	var url = "http://" + document.location.host + q.appRoot + "httpAction.aspx?action=showDoc";
	q.submitTo(url);
}

function showSearch()
{
    var url = "http://" + document.location.host + q.appRoot + "httpAction.aspx?action=mainFrame";
    q.submitTo(url);
}

function showUsesCondition()
{
	var sFeatures = { width: 700, height: 600 ,help: 'no', scroll: 'yes', status:'no'};
	Compat.showModalDialog("http://www.cdisys.com/legal_disclaimer.html" , window , sFeatures);
	return false;	
}

function hideLoading()
{
    document.getElementById("loading").style.display = "none";
    document.getElementById("main").style.visibility = "visible"; 
	if (Compat.isIphone)    
        {
            var buttonList = document.getElementsByTagName("button");
            for (var i = 0 ; i < buttonList.length; i++)
            {
                if ((buttonList[i].className == "buyMid")||(buttonList[i].className == "btnMid"))
                {
                    buttonList[i].className = "btnIphoneBuyMid";
                    buttonList[i].style.width ="80px";
                }
                if ((buttonList[i].className == "buyRight")||(buttonList[i].className == "purchLeft")||(buttonList[i].className == "buyLeft")||(buttonList[i].className == "purchRight")||(buttonList[i].className == "btnRight")||(buttonList[i].className == "btnLeft"))
                    buttonList[i].className = "btnIphoneSides";                            
            }
        }

}

