﻿function ShowMediumPress(pImg){
   var pressIndex=document.getElementById("PressIndex");
   pressIndex.value=pImg;
   var allLinks=document.getElementById("PressList").getElementsByTagName("a");
   for(var a=0;a<allLinks.length;a++){
      allLinks[a].style.color="#FFFFFF";
      allLinks[a].style.fontSize="13px";
   }
   var pressImg=document.getElementById("PressImg");
   pressImg.src="press/medium/"+MediumPress[pImg];
   var fullImg=new Image();
   fullImg.src="press/full/"+FullPress[pImg];
   allLinks[pImg].style.fontSize="14px";
   allLinks[pImg].style.color="#F097E7";
}

function ShowFullPress(){
   var pressIndex=document.getElementById("PressIndex").value;
   var fullImg=new Image();
   fullImg.src="press/full/"+FullPress[pressIndex];
   var imgwin=window.open(fullImg.src,"fullimg","height="+fullImg.height+",width="+fullImg.width+",status=no,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes");
   imgwin.focus();
}
