<!--

function openStyle(style){
switch(style){
case 1:
document.location =  "http://www.mvbox.bg/audio.pcgi?s=1&active=1"
break

case 2:
document.location =  "http://www.mvbox.bg/audio.pcgi?s=2&active=2"
break

case 3:
document.location =  "http://www.mvbox.bg/audio.pcgi?s=6&active=3"
break

case 4:
document.location =  "http://www.mvbox.bg/audio.pcgi?s=9&active=4"
break

case 5:
document.location =  "http://www.mvbox.bg/audio.pcgi?s=10&active=5"
break

case 6:
document.location =  "http://www.mvbox.bg/audio.pcgi?s=3&active=6"
break

case 7:
document.location =  "http://www.mvbox.bg/audio.pcgi?s=5&active=7"
break

case 8:
document.location =  "http://www.mvbox.bg/audio.pcgi?s=4&active=8"
break

case 9:
document.location =  "http://www.mvbox.bg/audio.pcgi?s=7&active=9"
break

case 10:
document.location =  "http://www.mvbox.bg/audio.pcgi?s=8&active=10"
break

 }

}

function getURLParam(strParamName){
  var strReturn = "";
  var strHref = window.location.href;
  if ( strHref.indexOf("?") > -1 ){
    var strQueryString = strHref.substr(strHref.indexOf("?")).toLowerCase();
    var aQueryString = strQueryString.split("&");
    for ( var iParam = 0; iParam < aQueryString.length; iParam++ ){
      if (
aQueryString[iParam].indexOf(strParamName + "=") > -1 ){
        var aParam = aQueryString[iParam].split("=");
        strReturn = aParam[1];
        break;
      }
    }
  }
  return strReturn;
}


active_ = getURLParam('active');

if(hasRightVersion) {  // if we've detected an acceptable version
	var stylesObject = document.getElementById("pinkStylesFlash");

	var flashNav = '<object data="img/flash/styles.swf?active_style='+active_+'" type="application/x-shockwave-flash" width="128" height="427" id="nav" align="middle"><param name="allowScriptAccess" value="always" /><param name="movie" value="img/flash/styles.swf?active_style='+active_+'" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /></object>';

	document.write(flashNav);
	stylesObject.style.display = "block";
  }
// -->
