function water_inside()
{
window.open('water_management_home.aspx','_self')
}

function PopUp(varFilename, intLeft, intTop, intWidth, intHeight, binScroll) {

     winParams = " toolbar=no"         // Icon bar
               + ",location=no"      // Location bar
               + ",directories=no"   //
               + ",status=no"       //Status Bar at bottom of window.
               + ",menubar=no"       //Menubar at top of window.
               + ",resizeable=no"    //Allow resizing by dragging. (Yes - Does not work with Netscape or IE)
               + ",scrollbars="+binScroll   //Displays scrollbars is document is larger than window.
               + ",titlebar=no"     //Enable/Disable titlebar resize capability.
               + ",left="+intLeft             //Offset of windows left edge from screen.
               + ",top="+intTop              //Offset of windows top edge from screen.
               + ",width="+intWidth    //Standard 640,800/788, 800/788
               + ",height="+intHeight  //Standard 480,600/541, 600/566
               + ";"

		 winURL = ""+ varFilename;

 		 		 var popwin;
				 popWindow = window.open(winURL,popwin,winParams)
}

function PopUpGlobal(varFilename, varTitle, intLeft, intTop, intWidth, intHeight, binScroll) {

     winParams = " toolbar=no"         // Icon bar
               + ",location=no"      // Location bar
               + ",directories=no"   //
               + ",status=no"       //Status Bar at bottom of window.
               + ",menubar=no"       //Menubar at top of window.
               + ",resizeable=no"    //Allow resizing by dragging. (Yes - Does not work with Netscape or IE)
               + ",scrollbars="+binScroll   //Displays scrollbars is document is larger than window.
               + ",titlebar=no"     //Enable/Disable titlebar resize capability.
               + ",left="+intLeft             //Offset of windows left edge from screen.
               + ",top="+intTop              //Offset of windows top edge from screen.
               + ",width="+intWidth    //Standard 640,800/788, 800/788
               + ",height="+intHeight  //Standard 480,600/541, 600/566
               + ";"

		 winURL = "/videos/"+ varFilename;

 		 		 var popwin;
				 popWindow = window.open(winURL,popwin,winParams)
}
