/* Document JavaScript */

function AxRep(){
  if (!document.all || !window.print || window.opera) return;
  if (document.getElementsByTagName) { 
	var theObjects = document.getElementsByTagName("object");
   for (var i = 0; i < theObjects.length; i++) {
      div = theObjects[i].parentNode.insertBefore(document.createElement("div"), theObjects[i]);
      div.style.display="none";
      div.appendChild(theObjects[i]);
	if(div.firstChild.data){
			div.firstChild.removeAttribute('data');
		}
      var theParams = div.getElementsByTagName("param");
		for (var j = 0; j < theParams.length; j++) {
			if(theParams[j].name.toLowerCase() == 'flashvars'){
				var theFlashVars = theParams[j].value;
            break;
			}
		}
      var theInnnerHTML = div.innerHTML;
		var re = /<param name="FlashVars" value="">/ig;
		theInnnerHTML = theInnnerHTML.replace(re, "<param name='FlashVars' value='" + theFlashVars + "'>");
		div.outerHTML = theInnnerHTML;
	}
	var embs = document.getElementsByTagName("embed");
	for (i=0; i<embs.length; i++) {
		embs[i].outerHTML = embs[i].outerHTML;
	}
 }
}