bicq.reg_html =
				'<table id="regtable" width="220" border="0" cellpadding="0" cellspacing="3">'+
	                '<tr>'+
	                    '<td align="right">'+
	                        languages[current_language].bicq.username + ':' +
	                    '</td>'+
	                    '<td>'+
	                        '<input name="username" type="text" class="text ui-widget-content ui-corner-all" id="rusername" maxlength="16"/>'+
	                    '</td>'+
	                '</tr>'+
	                '<tr>'+
	                    '<td align="right">'+
	                        languages[current_language].bicq.password + ':' +
	                    '</td>'+
	                    '<td>'+
	                        '<input name="tbPass" type="password" class="text ui-widget-content ui-corner-all" id="rpassword"  maxlength="16"/>'+
	                    '</td>'+
	                '</tr>'+
	                '<tr>'+
	                    '<td align="right">'+
	                        languages[current_language].bicq.confirm_password + ':' +
	                    '</td>'+
	                    '<td>'+
	                        '<input name="tbRepass" type="password" class="text ui-widget-content ui-corner-all" id="repassword" maxlength="16"/>'+
	                    '</td>'+
	                '</tr>'+
	                '<tr>'+
	                    '<td align="right">'+
	                        languages[current_language].bicq.email + ':' +
	                    '</td>'+
	                    '<td>'+
	                        '<input name="tbNick" type="text" class="text ui-widget-content ui-corner-all" id="remail" maxlength="255"/>'+
	                    '</td>'+
	                '</tr>'+
	                '<tr>'+
	                    '<td align="right">'+
	                        languages[current_language].bicq.signature + ':' +
	                    '</td>'+
	                    '<td>'+
	                        '<input name="tbSign" type="text" class="text ui-widget-content ui-corner-all" id="rsignature" maxlength="200"/>'+
	                    '</td>'+
	                '</tr>'+
//	                '<tr>'+
//	                    '<td align="right">'+
//	                        'Thumb:'+
//	                    '</td>'+
//	                    '<td>'+
//	                        '<input name="thumb" class="text ui-widget-content ui-corner-all" type="file" style="width:130px" size="14" id="rthumb" />'+
//	                    '</td>'+
//	                '</tr>'+
	                '<tr>'+
	                    '<td align="right">'+
	                        languages[current_language].bicq.gender + ':' +
	                    '</td>'+
	                    '<td>'+
	                        '<input name="rdGender" type="radio" id="rman" value="1" checked="checked" />'+
	                        '<label for="rman">'+
	                            languages[current_language].bicq.male +
	                        '</label>'+
	                        '<input name="rdGender" type="radio" id="rfemale" value="2" />'+
	                        '<label for="rfemale">'+
	                            languages[current_language].bicq.female +
	                        '</label>'+
	                    '</td>'+
	                '</tr>'+
	            '</table>';

bicq.setting_html =
			    '<table id="settingtable" border="0" align="center" cellpadding="0" cellspacing="0">'+
			        '<tr>'+
			            '<td height="15" colspan="2">'+
			            '</td>'+
			        '</tr>'+
			        '<tr>'+
			            '<td height="25" align="right">'+
			                languages[current_language].bicq.contacts +':'+
			            '</td>'+
			            '<td>'+
			                '<input name="rdordertype" type="radio" id="rdOrderType1" value="1"/>'+
			                '<label for="rdOrderType1">'+
			                    languages[current_language].bicq.sort_by_group+
			                '</label>'+
			                '<input name="rdordertype" type="radio" id="rdOrderType2" value="2"/>'+
			                '<label for="rdOrderType2">'+
			                    languages[current_language].bicq.sort_by_state+
			                '</label>'+
			            '</td>'+
			        '</tr>'+
			        '<tr>'+
			            '<td height="25" align="right">'+
			                languages[current_language].bicq.face +':'+
			            '</td>'+
			            '<td>'+
			                '<input name="rddistype" id="rdDisType1" type="radio" value="1"/>'+
			                '<label for="rdDisType1">'+
			                    languages[current_language].bicq.details+
			                '</label>'+
			                '<input name="rddistype" id="rdDisType2" type="radio" value="2"/>'+
			                '<label for="rdDisType2">'+
			                    languages[current_language].bicq.list+
			                '</label>'+
			            '</td>'+
			        '</tr>'+
			        '<tr>'+
			            '<td height="25" align="right">'+
			                languages[current_language].bicq.participants +':'+
			            '</td>'+
			            '<td>'+
			                '<input name="rdchatside" type="radio" id="rdChatSide1" value="1"/>'+
			                '<label for="rdChatSide1">'+
			                    languages[current_language].bicq.hide_thumb+
			                '</label>'+
			                '<input name="rdchatside" type="radio" id="rdChatSide2" value="2"/>'+
			                '<label for="rdChatSide2">'+
			                    languages[current_language].bicq.show_thumb+
			                '</label>'+
			            '</td>'+
			        '</tr>'+

			        '<tr>'+
			            '<td height="25" align="right">'+
			                languages[current_language].bicq.send_text +':'+
			            '</td>'+
			            '<td>'+
			                '<input name="rdmsgsendkey" type="radio" id="rdMsgSendKey1" value="1"/>'+
			                '<label for="rdMsgSendKey1">'+
			                    languages[current_language].bicq.by_enter+
			                '</label>'+
			                '<input name="rdmsgsendkey" type="radio" id="rdMsgSendKey2" value="2"/>'+
			                '<label for="rdMsgSendKey2">'+
			                    languages[current_language].bicq.by_ctrl_enter+
			                '</label>'+
			            '</td>'+
			        '</tr>'+
			        '<tr>'+
			            '<td height="10" colspan="2" align="center">'+
			            '</td>'+
			        '</tr>'+
			    '</table>';

bicq.addFriend_html =
			 '<table id="addfriendtable" width="280" border="0" align="center" cellpadding="0" cellspacing="2">'+
		        '<tr>'+
		            '<td height="10">'+
		            '</td>'+
		        '</tr>'+
		        '<tr>'+
		            '<td height="20" nowrap>'+
		                languages[current_language].bicq.username +':'+
		            '</td>'+
		            '<td height="25">'+
		                '<input name="username" type="text" class="text ui-widget-content ui-corner-all" id="ausername" maxlength="16"/>'+
		            '</td>'+
					'<td></td>'+
		        '</tr>'+
		        '<tr>'+
		            '<td height="20" nowrap>'+
		                'BICQ:'+
		            '</td>'+
		            '<td height="25">'+
		                '<input name="bicq" type="text" class="text ui-widget-content ui-corner-all" id="abicq" maxlength="16"/>'+
		            '</td>'+
					'<td>'+
						'<div id="bicq_searchfriend" class="ui-state-default ui-corner-all" style="float:left;width:70px;height:22px;cursor:pointer"><div style="padding:3px;"><span class="ui-icon ui-icon-search" style="float:left;"/><span>'+ languages[current_language].bicq.search +'</span></div></div>'+
					'</td>'+
		        '</tr>'+
		        '<tr>'+
		            '<td height="20" nowrap>'+
		                languages[current_language].bicq.groupname+':'+
		            '</td>'+
		            '<td height="25">'+
		                '<input name="groupid" type="text" class="text ui-widget-content ui-corner-all" id="agroupid" maxlength="16"/>'+
		            '</td>'+
					'<td>'+
						'<div id="bicq_searchgroup" class="ui-state-default ui-corner-all" style="float:left;width:70px;height:22px;cursor:pointer"><div style="padding:3px;"><span class="ui-icon ui-icon-search" style="float:left;"/><span>'+ languages[current_language].bicq.search +'</span></div></div>'+
					'</td>'+
		        '</tr>'+
		    '</table>';

bicq.profile_html =
			    '<table id="profiletable" width="240" border="0" align="center" cellpadding="0" cellspacing="3">'+
			        '<tr>'+
			            '<td align="right">'+
			                languages[current_language].bicq.password +':'+
			            '</td>'+
			            '<td width="170">'+
			                '<input name="tbOldPass" type="password" class="text ui-widget-content ui-corner-all" id="bicq_edit_oldpwd" maxlength="16" />'+
			            '</td>'+
			        '</tr>'+
			        '<tr>'+
			            '<td align="right">'+
			                languages[current_language].bicq.new_password +':'+
			            '</td>'+
			            '<td>'+
			                '<input name="tbPass" type="password" class="text ui-widget-content ui-corner-all" id="bicq_edit_newpwd" maxlength="16"/>'+
			            '</td>'+
			        '</tr>'+
			        '<tr>'+
			            '<td align="right">'+
			                languages[current_language].bicq.confirm_password +':'+
			            '</td>'+
			            '<td>'+
			                '<input name="tbRepass" type="password" class="text ui-widget-content ui-corner-all" id="bicq_edit_confirmnewpwd" maxlength="16"/>'+
			            '</td>'+
			        '</tr>'+
			       //  '<tr>'+
			       //      '<td align="right">'+
			       //          'Nickname:'+
			       //      '</td>'+
			       //      '<td>'+
			       //          '<input name="tbNick" type="text" class="text ui-widget-content ui-corner-all" id="profileNick" maxlength="20" />'+
			       //      '</td>'+
			       //  '</tr>'+
			        '<tr>'+
			            '<td align="right">'+
			                languages[current_language].bicq.signature +':'+
			            '</td>'+
			            '<td>'+
			               '<input name="tbSign" type="text" class="text ui-widget-content ui-corner-all" id="bicq_edit_sign" maxlength="200"/>'+
			            '</td>'+
			        '</tr>'+
//			        '<tr>'+
//			            '<td align="right">'+
//			                'Thumb:'+
//			            '</td>'+
//			            '<td>'+
//			                '<input name="fileFace" class="text ui-widget-content ui-corner-all" type="file" style="width:164px" size="14" id="profilefileFace" />'+
//			            '</td>'+
//			        '</tr>'+
			        '<tr>'+
			            '<td align="right">'+
			                languages[current_language].bicq.gender +':'+
			            '</td>'+
			            '<td>'+
			                '<input name="tbGender" type="radio" id="profileMale" value="1" />'+
			                    '<label for="profileMale">'+
			                        languages[current_language].bicq.male+
			                    '</label>'+
			                '<input name="tbGender" type="radio" id="profileFemale" value="2" />'+
			                    '<label for="profileFemale">'+
			                        languages[current_language].bicq.female+
			                    '</label>'+
			            '</td>'+
			        '</tr>'+
			    '</table>';
bicq.fastReplay_html = '<table width="98%" border="0" align="center" cellpadding="0" cellspacing="5">'+
							  '<tr>'+
							    '<td height="10"></td>'+
							  '</tr>'+
							  '<tr>'+
							    '<td height="20">Title</td>'+
							    '<td height="20">'+
							      '<input name="fastreply_title" type="text" class="text ui-widget-content ui-corner-all" id="fastreply_title" maxlength="255" value="$title" />'+
							    '</td>'+
							  '</tr>'+
							  '<tr>'+
							    '<td height="20">Classid</td>'+
							    '<td height="20">'+
							      '<input name="fastreply_classid" type="text" class="text ui-widget-content ui-corner-all" id="fastreply_classid" maxlength="6" value="$classid"/>'+
							    '</td>'+
							  '</tr>'+
							  '<tr>'+
							    '<td height="20">priority</td>'+
							    '<td height="20">'+
							      '<input name="fastreply_priority" type="text" class="text ui-widget-content ui-corner-all" id="fastreply_priority" maxlength="6" value="$priority"/>'+
							    '</td>'+
							  '</tr>'+
							   '<tr>'+
							    '<td height="20">Url</td>'+
							    '<td height="20">'+
							      '<input name="fastreply_url" type="text" class="text ui-widget-content ui-corner-all" id="fastreply_url" maxlength="255" value="$url"/>'+
							    '</td>'+
							  '</tr>'+
							  '<tr>'+
							    '<td height="20">Content</td>'+
							  '</tr>'+
							  '<tr>'+
							    '<td height="25" colspan="2">'+
							      '<textarea name="fastreply_content" type="text" class="text ui-widget-content ui-corner-all" id="fastreply_content" style="width:99%;overflow:auto;table-layout:fixed;word-break:break-all" rows="5" cols="10">$content</textarea>'+
							    '</td>'+
							  '</tr>'+
							  '<tr>'+
							    '<td height="35" colspan="2" align="center">'+
							    	'<input type="hidden" name="fastreply_id" id="fastreply_id" value="$id">'+
							    	'<input type="hidden" name="fastreply_bicq" id="fastreply_bicq" value="$uid">'+
							        '<input class="ui-button ui-state-default ui-corner-all" type="button" name="btnSubmit" id="btnSubmit" value="ok" onclick="submitform(this.parentNode)"/>'+
							        '&nbsp;'+
							        '<input class="ui-button ui-state-default ui-corner-all" type="button" name="btnCancel" id="btnCancel" value="cancel" onclick="cancelSubmit(this.parentNode)"/>'+
							        '</td>'+
							  '</tr>'+
							'</table>'

