var MtimeGameAPI = {
	            Game : {ID:55396,Description:"回味《叶问》：叶问不喜欢与人比武，他妻子更是反对，当金山找激将不休难以打发时，妻子对叶问说了什么？"} ,
                Image : 'http://img2.mtime.com/Game/09/01/13/090113172231454135_180.jpg' ,
	            Options : [{ID:175132,GameID:55396,Description:"给我狠狠地揍他！"},{ID:175133,GameID:55396,Description:"你敢打咱们就离婚！"},{ID:175134,GameID:55396,Description:"别打伤他，咱没钱治。"},{ID:175135,GameID:55396,Description:"别把家里东西打烂了。"}] ,
	            Render : function() { 
		            document.write('<form id="MtimeGameAPIForm" action="http://www.mtime.com/api/gameprocessor" method="post" target="_blank">');
		            document.write('<input type="hidden" id="MtimeGameAPIGameID" name="MtimeGameAPIGameID" value="'+MtimeGameAPI.Game['ID']+'"/>');
                    document.write('<input type="hidden" id="MtimeGameAPIGameAction" name="MtimeGameAPIGameAction" value="1" />');
                    document.write('<input type="hidden" id="MtimeGameAPIGameClassID" name="MtimeGameAPIGameClassID" value="0" />');
		            document.write('<p class="mt6">'+MtimeGameAPI.Game['Description']+'</p>');
		            if(MtimeGameAPI.Image!='')
			            document.write('<p><img src="'+MtimeGameAPI.Image+'"/></p>');
		            for(var i=0;i<MtimeGameAPI.Options.length;i++)	
			            document.write('<p><input type="radio" id="'+MtimeGameAPI.Options[i]['ID']+'" name="MtimeGameAPIOptionValue" value="'+MtimeGameAPI.Options[i]['ID']+'" /><label for="'+MtimeGameAPI.Options[i]['ID']+'">'+MtimeGameAPI.Options[i]['Description']+'</label></p>');	
		            document.write('<p><input value="提交" type="submit" name="MTimeGamePlayButton"/> ');
		            document.write('<input value="跳过" type="submit" name="MTimeGameSkipButton"/></p>');
		            document.write('</form>');
	            },
	            Submit : function(){var radiolist = document.getElementsByName ('MtimeGameAPIOptionValue');for(var i=0;i<radiolist.length;i++){if(radiolist[i].checked){document.getElementById('MtimeGameAPIForm').submit();return;}} alert('请先选择一个答案');} ,
	            Skip : function(){document.getElementById('MtimeGameAPIGameAction').value="0";document.getElementById('MtimeGameAPIForm').submit();} 
            };
            MtimeGameAPI.Render();