function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

function goto(form) { var index=form.select.selectedIndex
if (form.select.options[index].value != "0") {
location=form.select.options[index].value;}}

function flipInit()
{
var container = document.getElementById("flipcontainer");
flipImages = container.getElementsByTagName("img");
// ... find index of initial visible (if not defined)
if(typeof(flipCurrent_i)=="undefined")
{
for(var i=0;i<flipImages.length;i++){
if(flipImages[i].style.visibility){
flipCurrent_i = i;
break;
}
}
}
//..................................................
flipTimer = setInterval("flipFlop()",flipDelay);
}

function flipFlop()
{
flipImages[flipCurrent_i].style.visibility = ""
flipCurrent_i = ++flipCurrent_i % flipImages.length
flipImages[flipCurrent_i].style.visibility = "visible"
}


(function() {
    window.PinIt = window.PinIt || { loaded:false };
    if (window.PinIt.loaded) return;
    window.PinIt.loaded = true;
    function async_load(){
        var s = document.createElement("script");
        s.type = "text/javascript";
        s.async = true;
        s.src = "http://assets.pinterest.com/js/pinit.js";
        var x = document.getElementsByTagName("script")[0];
        x.parentNode.insertBefore(s, x);
    }
    if (window.attachEvent)
        window.attachEvent("onload", async_load);
    else
        window.addEventListener("load", async_load, false);
})();

