function OpenPopUp(url, name, width, height)
{
            

            //First Set the Attributes  for the Pop-Up Window ... !!!

            //If the Screen Resolution is <= 1024 Then the Pop-Up Window should be shown on 		the Top-Right Corner of the Screen

            //If the Screen Resolution is >  1024 Then the Pop-Up Window should be shown using the Standard Off-Set of 1024 Resolution.

            var screenW = screen.width;

            var screenH = screen.height;

            

            if (screenW > 1024)

                        {

                                    screenW = 1024 - width;

                        }

            else

                        {

                                    screenW = screenW - width - 15;

                        }                      

            settings = "toolbar=no,location=no,directories=no,"+

                       "status=no,menubar=no,scrollbars=yes,"+

                       "resizable=yes,width="+width+",height="+

                       height+",left="+screenW+",top=10,screenX=250,screenY=10";

 

            var PopUp1 = window.open(url, name, settings); 

            

            //Added the Following Code to Keep the Window Active When Clicking on the Next 	    Link, Especially on the MyDownloads Page in eStore... !!! 

            if (!PopUp1 || PopUp1.closed)

                        {

                                    PopUp1 = window.open(url, name, settings);

                        }

            else

                        {

                                    PopUp1.focus();

                        }

}