
pageLoc = self.location;
pageAdd = top.location;

if (pageLoc == pageAdd) {
  var sPath = window.location.pathname;
	var sPage = sPath.substring(sPath.lastIndexOf("/")+1);
      if (sPage.indexOf('.html') != -1){
        sPage=sPage.substring(0, sPage.indexOf('.html'));
      }
      if (sPage.indexOf('.php') != -1){
        sPage=sPage.substring(0, sPage.indexOf('.php'));
      }
      
      contPage = '../'+sPage;
      top.location.href = contPage;
}else{
  parent.document.getElementById('sound_bars').style.display = 'block'; 
  parent.document.getElementById('content_pages').style.height = '420px';
}