var MtimeGameAPI = {
	            Game : {ID:55075,Description:"《变形金刚》真人电影第一部中，山姆在E-bay上拍卖爷爷的什么遗物让霸天虎盯上了？"} ,
                Image : 'http://img2.mtime.com/Game/09/01/09/090109113421325737_180.jpg' ,
	            Options : [{ID:173897,GameID:55075,Description:"手套"},{ID:173898,GameID:55075,Description:"眼镜"},{ID:173899,GameID:55075,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();