	/* Interstitial page:  return false. */

	function inter1Old( url ){
		
		alert("\n\nwill open \n\n"  +  url + "\n\n\n\nin interstitial page\n\n\n\n");
		
		return false;			
	}
	
    var subModalTargetPage = '/index.cfm';  //default
    function inter1(targetPage) {
                if (targetPage && targetPage != '') {
                    subModalTargetPage = targetPage;
                }
                scroll(0,0);
                document.getElementById('popupTitle').innerHTML = '';
                showPopWin('/inter1.html', 510, 400);
                changeOpac(40,'popupMask');
                
                
                return false;
  	}
	
    var subModalTargetPageTopical = '/index.cfm';  //default
    function inter2(targetPage) {
                if (targetPage && targetPage != '') {
                    subModalTargetPage = targetPage;
                }
                scroll(0,0);
                document.getElementById('popupTitle').innerHTML = '';
                showPopWin('/inter1.html', 510, 400);
                changeOpac(40,'popupMask');
                
                
                return false;
  	}
	
    function inter3(titleText) {
            scroll(0,0);
            document.getElementById('popupTitle').innerHTML = titleText;
            showPopWin('/content/consumer_kaletra_works_body_flash.html', 580, 360);
            changeOpac(40,'popupMask');
            return false;
  	}



    function changeOpac(opacity, objectid) {
                    var object = document.getElementById( objectid ).style;
                    object.opacity = (opacity / 100); 
                    object.MozOpacity = (opacity / 100); 
                    object.KhtmlOpacity = (opacity / 100); 
                    object.filter = "alpha(opacity=" + opacity + ")"; 
                    // object.style.filter = "alpha(opacity=" + opacity + ")"; 
    }	

	
    
    var popupGraphicWin = null;
    
    // Returns false
    
	function popupGraphic( url, nWidth, nHeight ){ 
				
			var x = (screen.width - nWidth) / 3;
			var y = (screen.height - nHeight) / 3;		

			var optionString = "scrollbars=yes,location=no,resizable=yes,status=no,";
			optionString += "height=" + nHeight + ",width=" + nWidth;
			optionString += ",screenX="+ x +",screenY="+ y +",top="+ y +",left="+ x;


		    if (! popupGraphicWin || popupGraphicWin.closed ) {
		    	popupGraphicWin = window.open(url,"windowGraphic_View",optionString);
		    } else {
		    	// window already exists, so bring it forward
			    popupGraphicWin.location.href=url;
			    popupGraphicWin.focus();
			}
			return false;
	}
   var videoWindow = null; 
    function openVideoClip( url ) {
    		
    			var nWidth = 725;
    			var nHeight = 505;
    			var x = (screen.width - nWidth) / 3;
    			var y = (screen.height - nHeight) / 3;	
    			x = 1;
    			y = 1;
    
    			var optionString = "scrollbars=yes,location=no,resizable=yes,status=no,";
    			optionString += "height=" + nHeight + ",width=" + nWidth;
    			optionString += ",screenX="+ x +",screenY="+ y +",top="+ y +",left="+ x;
    
    		    if (! videoWindow || videoWindow.closed ) {
    		    	videoWindow = window.open(url,"videoWindow",optionString);
    		    } else {
    		    	// window already exists, so bring it forward
    			    videoWindow.location.href=url;
    			    videoWindow.focus();
    			}
    		
    	}
