<input id="hiddentemp" runat="server" type="hidden" /> // Place Control in source
// Write new function in js file
function showmsg()
{
if (document.forms[0].hiddentemp.value == "1")
display();
}
// Call this function in Body in Source
<body class="" onload="showmsg()">
//write on Page load as
hiddentemp.Value = "0";
//write on Save Button
hiddentemp.Value = "1";