function LoadScriptQuestionSecondSurvey(){
var surveyString = {
state0: {
html: "<table class='answer' width='100%'><tr><td><p><div class=ExternalClass18AA4F0BD70A41A4B1216CCC26A2A2CC><div><div class=ExternalClass604AFDBCB19F4C49A0B9B370AFFF8A14><font size=3><strong><img alt=Logo src='http://www.dev.availability.sungard.com/SiteCollectionImages/sg_logo.gif'></strong></font></div><div class=ExternalClass604AFDBCB19F4C49A0B9B370AFFF8A14><strong><font size=3></font></strong> </div><div class=ExternalClass604AFDBCB19F4C49A0B9B370AFFF8A14><font size=3><strong>Hello!!</strong></font></div><div class=ExternalClass604AFDBCB19F4C49A0B9B370AFFF8A14><strong><font size=3></font></strong> </div><div class=ExternalClass604AFDBCB19F4C49A0B9B370AFFF8A14><font size=2>Welcome back to our site. Can you take a minute or two to answer 4 questions in our survey.</font></div><div class=ExternalClass604AFDBCB19F4C49A0B9B370AFFF8A14><font size=2></font> </div><div class=ExternalClass604AFDBCB19F4C49A0B9B370AFFF8A14><font size=2>Thanks!!</font></div></div></div></p></td></tr></table> ",
buttons: {'Yes': 1, 'No' : 2 },
focus: 1,
submit: function(v, m, f) {
if (v == 1){
$.prompt.goToState('state1'); return false;}if (v == 2)
$.prompt.close();}
},
state1: {
html: "<table class='question' width='100%'><tr><td><p>We welcome any comments or suggestions you could provide to help make your experience on the SunGard web site more valuable and satisfying. </p></td></tr></table><table class='answer'><tr><td width='100%'><input type='hidden' name='QQ1' id='QQ1' value='Question:We welcome any comments or suggestions you could provide to help make your experience on the SunGard web site more valuable and satisfying. '></input><textarea rows='6' cols='60' style='textareaanswer' name='A10' id='A10'></textarea></td></tr></table> ",
buttons: {'Next Question': 1 },
focus: 1,
submit: function(v, m, f) {
if (v == 1)
$.prompt.goToState('state2'); return false;}
},
state2: {
html: "<table class='question' width='100%'><tr><td><p>What did you like the most in our site?</p></td></tr></table><table class='answer'><tr><td width='100%'><input type='hidden' name='QQ2' id='QQ2' value='Question:What did you like the most in our site?'></input><tr><td><label><input type='checkbox' name='A20' id='A20' value='UI'>UI</input></label><td><tr><tr><td><label><input type='checkbox' name='A21' id='A21' value='Layout'>Layout</input></label><td><tr><tr><td><label><input type='checkbox' name='A22' id='A22' value='Navigation'>Navigation</input></label><td><tr><tr><td><label><input type='checkbox' name='A23' id='A23' value='Content'>Content</input></label><td><tr></td></tr></table> ",
buttons: {'Next Question': 1 },
focus: 1,
submit: function(v, m, f) {
if (v == 1)
$.prompt.goToState('state3'); return false;}
},
state3: {
html: "<table class='question' width='100%'><tr><td><p>What is the one thing you would want us to improved on our site?</p></td></tr></table><table class='answer'><tr><td width='100%'><input type='hidden' name='QQ3' id='QQ3' value='Question:What is the one thing you would want us to improved on our site?'></input><tr><td><label><input type='radio' name='A30' id='A30' value='UI' class='radioinput'>UI</input></label><td><tr><tr><td><label><input type='radio' name='A30' id='A30' value='Layout' class='radioinput'>Layout</input></label><td><tr><tr><td><label><input type='radio' name='A30' id='A30' value='Navigation' class='radioinput'>Navigation</input></label><td><tr><tr><td><label><input type='radio' name='A30' id='A30' value='Content' class='radioinput'>Content</input></label><td><tr></td></tr></table> ",
buttons: {'Next Question': 1 },
focus: 1,
submit: function(v, m, f) {
if (v == 1)
$.prompt.goToState('state4'); return false;}
},
state4: {
html: "<table class='question' width='100%'><tr><td><p>Were you able to contact any of our representatives?</p></td></tr></table><table class='answer'><tr><td width='100%'><input type='hidden' name='QQ4' id='QQ4' value='Question:Were you able to contact any of our representatives?'></input><select name='dropdown' style='width:40%'><option id='defaultoptionQ4' name='defaultoptionQ4' value='none' selected >Choose One</option><option id='A40' name='A40' value='Yes I could'>Yes I could</option><option id='A41' name='A41' value='No'>No</option></select></td></tr></table> ",
buttons: {'Next Question': 1 },
focus: 1,
submit: function(v, m, f) {
if (v == 1)
$.prompt.goToState('state5'); return false;}
},
state5: {
html: "<table class='answer' width='100%'><tr><td><p><div class=ExternalClassC48855DC731F47288A24E21B1E6AD380><div><div class=ExternalClass7290D6ECC40B4ECFBD16B47C41266D20><div class=ExternalClass604AFDBCB19F4C49A0B9B370AFFF8A14><font size=3><strong><img alt=Logo src='http://www.dev.availability.sungard.com/SiteCollectionImages/sg_logo.gif'></strong></font></div><div class=ExternalClass604AFDBCB19F4C49A0B9B370AFFF8A14><strong><font size=3></font></strong> </div><div class=ExternalClass604AFDBCB19F4C49A0B9B370AFFF8A14><font size=3><strong>Thanks for your time.</strong></font></div><div class=ExternalClass604AFDBCB19F4C49A0B9B370AFFF8A14><font size=2></font> </div><div class=ExternalClass604AFDBCB19F4C49A0B9B370AFFF8A14><font size=2>Please <a href='mailto:partha.t@gmail.com'>contact us </a>if you have something more to say.</font></div></div></div></div></p></td></tr></table> ",
buttons: {'Finish': 1},
focus: 1,
submit: function(v, m, f) {
if (v == 1)
$.prompt.close();return true;}
}
};
$.prompt(surveyString, {listname:'Second Survey', callback: PostResults });
}

