<!--

function popUpCochrane ( )
{	popupWindow = window.open('/tw/cochrane/main_default.asp','cochrane_main','scrollbars=no,width=550,height=480');                                                                               
	popupWindow.focus();
}

// POP-UP WINDOW FOR BRUSHUPS 550x415
function popUpBrushups ( )
{	window.open( '/brushups/oralb_brushups.asp', 'brushups_popup', 'width=550,height=415,scrollbars=0,status=0,resizable=0,location=no,directories=no,menubar=no,left=175,top=150' );
}

// POP-UP WINDOW FOR HUMMINGBIRD  550x415
function popUpHumBird ( )
{	window.open( '/tw/hummingbird/oralb_hummingbird.asp', 'hbird_popup', 'width=550,height=415,scrollbars=0,status=0,resizable=0,location=no,directories=no,menubar=no,left=175,top=150' );
}

// POP-UP WINDOWS FOR MORE PRODUCT INFORMATION
function popUp(file) {
 	popupWindow = window.open(file,'pop','scrollbars=yes,width=451,height=380');                                                                               
  popupWindow.focus();
}

//Window used in the Kidspower demo popup.
// POP-UP WINDOWS FOR PRODUCT DEMO
// POP-UP WINDOWS FOR MORE PRODUCT INFORMATION
function popUpKidsPower(file) {
 	popupWindow = window.open(file,'pop','scrollbars=no,width=550,height=505');                                                                               
  popupWindow.focus();
}

//Used in the Cochrane "Information Video" button.
  function popUpSmall(file) {
  popupWindow = window.open(file,'pop','scrollbars=yes,width=425,height=350');                                                                               
  popupWindow.focus();
}

function popUpDemo(file) {
 	popupWindow = window.open(file,'pop','scrollbars=no,width=550,height=550');                                                                               
  popupWindow.focus();
}
// Pops all new windows in a daughter window.  HREF in html to point to the desired page,
// with the TARGET="daughter" and the onClick event triggering the openWin function.
// This ensures the links open, even if there is no javascript.
function openWin(destination){
    IEN = 0;
    indexNumber = navigator.userAgent.indexOf("MSIE");
    if (indexNumber != -1){
	IEN = navigator.userAgent.slice(indexNumber+5,indexNumber+6);
    }
    p = window.open(destination,"daughter","width=701,height=590,scrollbars,directories=no,location=no,menubar=no,resizable,status,toolbar");
    if(IEN > 4 || indexNumber == -1){
	p.focus();
    }
}

//Used in the Cochrane "Summary of Findings" button.
function openWinSmall(destination){
    IEN = 0;
    indexNumber = navigator.userAgent.indexOf("MSIE");
    if (indexNumber != -1){
	IEN = navigator.userAgent.slice(indexNumber+5,indexNumber+6);
    }
    p = window.open(destination,"daughter","width=756,height=590,scrollbars,directories=no,location=no,menubar=no,resizable,status,toolbar");
    if(IEN > 4 || indexNumber == -1){
	p.focus();
    }
}

//Used for the popup window in the Dental Professionals Home Page/section
function Load() { 
navSetup('dentalpros','','');
popupWindow = window.open('/tw/cochrane/prof_default.asp','cochrane_professional','scrollbars=no,width=548,height=480');                                                                               
popupWindow.focus();
}

//Used for the popup window in the Home Page
function LoadMain() { 
navSetup('home','','');
popupWindow = window.open('/tw/cochrane/main_default.asp','cochrane_main','scrollbars=no,width=550,height=480');                                                                               
popupWindow.focus();
}

function openWindow(destination){
    IEN = 0;
    indexNumber = navigator.userAgent.indexOf("MSIE");
    if (indexNumber != -1){
	IEN = navigator.userAgent.slice(indexNumber+5,indexNumber+6);
    }
    p = window.open(destination,"daughter","width=700,height=340,scrollbars,directories=no,location=no,menubar=no,resizable,status,toolbar");
    if(IEN > 4 || indexNumber == -1){
	p.focus();
    }
}

//For the Aamzon.com link on top_nav
function CreateNewWindow(url) { window.open(url,"displayWindow","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizeable=0,width=850,height=550")}



// -->


