function popFashionProduct(MainID) {
  win2 = window.open("/Fashion_Product.aspx?amid=" + MainID, "Fashion_Product_" + MainID, "width=700,height=630,scrollbars=1");
}
function popImageGallery(src,MainID) {
  win2 = window.open("/thumbnailviewer.aspx?src=" + src + "&amid=" + MainID, "popup","width=600,height=530,scrollbars=0");
}







function setTopRated190(){
  document.getElementById('toprated_190').style.display='block';
  document.getElementById('popular_190').style.display='none';
  document.getElementById('toprated_popular_190').style.backgroundImage='url(/images/art_s9_top2.gif)';
}

function setPopular190(){
  document.getElementById('toprated_190').style.display='none';
  document.getElementById('popular_190').style.display='block';
  document.getElementById('toprated_popular_190').style.backgroundImage='url(/images/art_s9_top.gif)';
}


var fontSize = 12;

function increaseFontSize()
{
  fontSize = fontSize+1;
  setSize();
}
	
function decreaseFontSize()
{
  fontSize = fontSize-1;
  setSize();
}

function setSize()
{
  document.getElementById('divfullstory').style.fontSize=fontSize;
}




function myMouseOut() { 
  if (!event.fromElement.contains(event.toElement) &&!document.getElementById('menu_holder').contains(event.toElement)) 
  { 
    hideall();
    getMenu();
  } 
}




function setRichTopRated()
{
    document.getElementById('rich_box_top').style.backgroundImage = 'url(/img/top_rated_rich_top_bg.gif)';
    document.getElementById('rich_box_most_visited').style.display = 'none';
    document.getElementById('rich_box_top_rated').style.display = 'block';
}

function setRichMostVisited()
{
    document.getElementById('rich_box_top').style.backgroundImage = 'url(/img/most_popular_rich_top_bg.gif)';
    document.getElementById('rich_box_most_visited').style.display = 'block';
    document.getElementById('rich_box_top_rated').style.display = 'none';
}


//Menu Stuff
function NewUberlink(cl, d) {
    var i, ob, tA, h = document.location.href;
    if (document.getElementById) {
        ob = (d) ? document.getElementById(d) : document;
        if (ob) {
            tA = ob.getElementsByTagName('A');
            for (i = 0; i < tA.length; i++) {
                if (tA[i].href == h) {
                    tA[i].className = cl;
                }
            }
        }
    }
  }











  function setBlogQuestions() {
    document.getElementById('q1').style.display = 'block';
    document.getElementById('f1').style.display = 'none';
    document.getElementById('bt1').src = '/images/blog-box-btn-questions-on.png';
    document.getElementById('bt2').src = '/images/blog-box-btn-asknow-off.png';
  }

  function setBlogForm() {
    document.getElementById('q1').style.display = 'none';
    document.getElementById('f1').style.display = 'block';
    document.getElementById('bt1').src = '/images/blog-box-btn-questions-off.png';
    document.getElementById('bt2').src = '/images/blog-box-btn-asknow-on.png';
  }

