///
/// method generategetPosscript is used to generate a JavaScript code that is positioned for menu
/// summary>
/// returns>
Private string generategetposscript ()
{
String getposscript;
getPosscript = "