///
/// method generatescript is used to generate JavaScript code, not using any variables or parameters
/// summary>
/// returns>
Private string generatescript ()
{
String tempscript;
Tempscript = "/ n