<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<title></title>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
   
	<!--MqRelPath--><link rel="stylesheet" type="text/css" href="../../theme/css/censusmain.css"/><!--/MqRelPath--><!--MqAbsPath><link rel="stylesheet" type="text/css" href="<BASE_VD>/theme/css/censusmain.css"/></MqAbsPath-->
	<!--MqRelPath--><link rel="stylesheet" type="text/css" href="../../theme/css/mqwizard.css"/><!--/MqRelPath--><!--MqAbsPath><link rel="stylesheet" type="text/css" href="<BASE_VD>/theme/css/mqwizard.css"/></MqAbsPath-->
	
	<!--MqRelPath--><script type="text/javascript" src="../../js/mqsysutils.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqsysutils.js" ></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/cmqsysmsg.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/cmqsysmsg.js"></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/mqloaddata.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqloaddata.js" ></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/mqrecordset.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqrecordset.js" ></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/xml.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/xml.js" ></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/mqformelements.js" ></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqformelements.js" ></script></MqAbsPath-->
	<!--MqRelPath--><script type="text/javascript" src="../../js/mqlist.js"></script><!--/MqRelPath--><!--MqAbsPath><script type="text/javascript" src="<BASE_VD>/js/mqlist.js"></script></MqAbsPath-->

	<script type="text/javascript">
		var m_objMqButton=new MqButton();
		var m_MqList=new MqList();
		var m_objFormElement=new CMqFormElement();
		var lngCallerID="<WC@CALLER_ID></WC@CALLER_ID>";
		var mstrECallerID="<WC@E_CALLER_ID></WC@E_CALLER_ID>";
		var mstrCallerName="<WC@CALLER_NAME></WC@CALLER_NAME>";
		var lngQuickView=g_MqRef.MqStr.GetQueryStringValue(location.search,"QV");
		var mblnIncomingCall=(lngQuickView!=1);
		var mlngSecType="<WC@SEC_TYPE></WC@SEC_TYPE>";
		var DEFAULT_BASE_QUERY="<QRY>All Open Issues</QRY>";
		var DEFAULT_BASE_QUERY_NAME="All Open Issues";
		var m_objMainRef;
		var m_objOpenerRef;
		var m_objRecordRef;
		var SEC_TYPE_USER = "1";
		var SEC_TYPE_CONTACT = "2";
		var SEC_TYPE_COMPANY = "3";
		var SEC_TYPE_VAR = "4";

		
		if(opener){
			m_objOpenerRef = opener;
			
			if(m_objOpenerRef.parent){
				m_objMainRef = m_objOpenerRef.parent;
				if (g_MqRef.RESX){
					// Load the localization file within the view
					var strVDName="";
					var strViewFolder="";
					
					if(m_objMainRef.mstrCurrentVDName){
						strVDName=m_objMainRef.mstrCurrentVDName;
					}else{
						if(m_objMainRef.opener){
							if(m_objMainRef.opener.mstrCurrentVDName){
								strVDName=m_objMainRef.opener.mstrCurrentVDName;
							}
						}
					}
					
					if(m_objMainRef.mstrCurrentViewFolder){
						strViewFolder=m_objMainRef.mstrCurrentViewFolder;
					}else{
						if(m_objMainRef.opener){
							if(m_objMainRef.opener.mstrCurrentViewFolder){
								strViewFolder=m_objMainRef.opener.mstrCurrentViewFolder;
							}
						}
					}
					if(strVDName!="" && strViewFolder!=""){
						g_MqRef.ResMgr.LoadViewRes("/" +strVDName + "/" + strViewFolder);
					}
				}
			}
			
			m_objRecordRef = m_objOpenerRef;
		}
		
		function HideAddNewButton(blnHide){
			var ADD_NEW_BTN_ID = "btnAddNew";
			var objAddNewBtn = document.getElementById(ADD_NEW_BTN_ID);
			
			if(blnHide){
				if(objAddNewBtn){
					objAddNewBtn.style.display = "none";
				}
			}
		}
		
		function OnLoadForm(){

			SetFormContext();
	
			SetDefaultQuery();
			
			GetQueryResults();
			
			if(m_objMainRef){
				HideAddNewButton(m_objMainRef.mblnIsUserView)
			}

			HideDisplayPic();
			
			var strXMLFieldValues="<WC@LOADDATA><Mq:Popup_Flds></WC@LOADDATA>";

			if(m_objMainRef){
				var oFieldValuesRs;	
			
				if (strXMLFieldValues.length>0){
					var oViewFields=m_objMainRef.m_objViewFields;
					if (oViewFields){
						oFieldValuesRs=new CMqRecordset(strXMLFieldValues,oViewFields.GetFieldIDName());	
					}
				
					var objLoadDataMgr=new CMqLoadDataMgr(oViewFields,"document");
				
					var lngMode=0 // disable all
					objLoadDataMgr.Load(oFieldValuesRs,lngMode,m_objMainRef.m_objDisplayElements,null);
				}
			}
		}
		
		function SetDefaultQuery()
		{
			var objQueryList=document.getElementById("QueryList");
			var blnFound=false;
			if(objQueryList){
				if(objQueryList.options){
					for(x=0; x<objQueryList.options.length;x++){
						if(objQueryList.options[x].text==DEFAULT_BASE_QUERY_NAME && 
								objQueryList.options[x].value==DEFAULT_BASE_QUERY){
						
							blnFound=true;
							break;		
						}
					}
					if(blnFound==false){
						if(objQueryList.options.length>0){
							DEFAULT_BASE_QUERY=objQueryList.options[0].value;
							DEFAULT_BASE_QUERY_NAME=objQueryList.options[0].text;
							
							objQueryList=document.getElementById("aQueryLst");
							
							m_objFormElement.SetValue(DEFAULT_BASE_QUERY,false,objQueryList,CTRL_TYPE_MQLIST, false, true);
						}
					}
				}
			}
		}
		
		function HideDisplayPic()
		{
			var objDefPic=document.getElementById("callerPic_Def");
			var objUsrPic=document.getElementById("callerPic_Usr");
			
			if(objUsrPic){
				if(IsImageOk(objUsrPic)){
					objUsrPic.style.display="";
				}else{
					if(objDefPic){
						objDefPic.style.display="";
					}
				}
			}			
		}
		
		function SetFormContext()
		{
			var strHeader="";
			var strTitle="";
			var strUser="<WC@CALLER_NAME></WC@CALLER_NAME>";
			var strPhone="<WC@CALLER_PHONE></WC@CALLER_PHONE>";
			var strHeight="85%";
			
			if(mblnIncomingCall){
				strTitle=g_MqRef.RESX['TITLE_INCOMING_CALL'];
				strHeader=g_MqRef.RESX['TITLE_INCOMING_CALL_FROM'];
			}else{
				strTitle=g_MqRef.RESX['TITLE_CONTACT_DETAILS'];
				strHeight="95%";
			}
			
			strHeader=g_MqRef.MqStr.FormatString(strHeader,strUser + "," + strPhone);
			
			var objHeader=document.getElementById("headerSection");
			if(objHeader){
				objHeader.innerHTML=strHeader;
			}
			
		
			document.title=strTitle;
		}
		
		function IsImageOk(img) {
		    // During the onload event, IE correctly identifies any images that
		    // weren't downloaded as not complete. Others should too. Gecko-based
		    // browsers act like NS4 in that they report this incorrectly.
		    if (!img.complete) {
		        return false;
		    }

		    // However, they do have two very useful properties: naturalWidth and
		    // naturalHeight. These give the true size of the image. If it failed
		    // to load, either of these should be zero.
		    if (typeof img.naturalWidth != "undefined" && img.naturalWidth == 0) {
		        return false;
		    }

		    // assume it's ok.
		    return true;
		}

		
		function GetIFrameSRC(lngQueryID)
		{
			var strAddQS="";
			var strFieldID="";
			
			if(mlngSecType==SEC_TYPE_USER||mlngSecType==SEC_TYPE_CONTACT){
				strFieldID="<WC@FLD_ID>nOriginatorID</WC@FLD_ID>";
			}else{
				if(mlngSecType==SEC_TYPE_COMPANY){
					strFieldID="<WC@FLD_ID>nCompanyName</WC@FLD_ID>";
				}else{
					if(mlngSecType==SEC_TYPE_VAR){
						strFieldID="<WC@FLD_ID>VAR_Name</WC@FLD_ID>";
					}
				}
			}
			
			if(strFieldID!=""){
				strAddQS="&ASQL=" + g_MqRef.MqStr.MqEncodeURIComponent(strFieldID + "|=|" + mstrCallerName + "|And");	
			}
			
			return "WCMailInt.ASP?WCI=wciGetQueryResults&QID=" + lngQueryID + "&UID=" + lngCallerID + strAddQS;
		}
		
		function GetQueryResults(strParam)
		{
			var objFra=document.getElementById("ifrLinkToIssue");
			
			var objQueryList=document.getElementById("aQueryLst");
			
			var lngQueryID = m_objFormElement.GetValue(false, objQueryList, CTRL_TYPE_MQLIST);
			
			if(objFra){
				if(strParam != null){
					objFra.src=GetIFrameSRC(lngQueryID) + "&" + strParam;
				}else{
					objFra.src=GetIFrameSRC(lngQueryID);
				}
			}
		}
		
		function OnDblClickItem(strRowItemCaption, strRowItemID)
		{
			if(strRowItemID >= 0){
				var blnIsLoaded=false;
				if(m_objMainRef.objRecord.GetRecordId()==strRowItemID){
					blnIsLoaded=true;
				}else{
					m_objMainRef.LoadRecord(strRowItemID, -1, false);
				}
				blnIsLoaded=MonitorIssueIsLoaded(strRowItemID, 0);
				if(blnIsLoaded && !mblnIncomingCall){
					window.close();
				}
				m_objMainRef.focus();
			}
		}
		
		function MonitorIssueIsLoaded(lngID, lngCount)
		{
			if(m_objMainRef.objRecord.GetRecordId()==lngID){
				return true;
			}else{
				if(lngCount<10){
					lngCount++;
					window.setTimeout("MonitorIssueIsLoaded(" + lngID + ", " + lngCount + ")", 200);
				}else{
					return false;
				}
			}
		}
		
		function OnRowOver(lngRowID, objCaller)
		{
			if(lngRowID >= 0 && objCaller){
				objCaller.SelectRow(lngRowID);
				
				var objRow=objCaller.document.getElementById("row_" + lngRowID);	
				var objSelImg=objCaller.document.getElementById("SelItem");
				var objHeader=objCaller.document.getElementById("GridHeader");
				
				if(objRow && objSelImg && objHeader){
					var lngHeightDiff=((objRow.offsetHeight-16)/2)-2;
					objSelImg.style.top=objRow.offsetTop + objHeader.offsetHeight + lngHeightDiff + "px";
					objSelImg.style.left="93%";
					objSelImg.style.display="";
					objSelImg.style.cursor="hand";
					objSelImg.title="Load issue in the Web view";
					if(objRow.cells.length>0){
						objCell=objRow.cells.item(0);
						objSelImg.onclick=objCell.ondblclick;
					}
				}	
			}
		}
		
		function OnSortColumn(strSortDetails)
		{	
		}
		function OnSelectRow(strName,strID)
		{
		}
		
		function MoveFirst()
		{
			GetQueryResults("Pos=FirstRecord");
		}

		function MoveLast()
		{
			GetQueryResults("Pos=LastRecord");
		}

		function MovePrev()
		{
			GetQueryResults("PN="+(Number(m_lngCurrentPage)-1));
		}

		function MoveNext()
		{
			GetQueryResults("PN="+(Number(m_lngCurrentPage)+1));
		}
		
		function OnListLoaded(lngCurrentPage, lngTotalRecord, lngPageCount)
		{
			SetPageCaption(lngCurrentPage, lngTotalRecord, lngPageCount);
			HandleButtonStates(lngCurrentPage, lngPageCount);
			m_lngCurrentPage=lngCurrentPage;
		}
		
		function SetPageCaption(lngCurrentPage, lngTotalRecord, lngPageCount)
		{
			var objPageCaption=document.getElementById("PageCaption");

			if (objPageCaption){
				var strPC=GetPageCaption(lngCurrentPage, lngTotalRecord, lngPageCount);
				objPageCaption.innerHTML=strPC;
				objPageCaption.title=strPC;
			}				
		}

		function GetPageCaption(lngCurrentPage, lngTotalRecord, lngPageCount){
			var strReturn;
			if (!lngCurrentPage && !lngTotalRecord){
				strReturn="No issues in the query";
			}else{	
				strReturn=g_MqRef.MqStr.FormatString("Page %1 of %2 (%3 matches)", lngCurrentPage+";"+lngPageCount+";"+lngTotalRecord+";",";"); 
			}
				
			return strReturn;
		}

		function HandleButtonStates(lngCurrentPage, lngPageCount)
		{
			if (lngCurrentPage==1 || lngCurrentPage==0){ 
				m_objMqButton.DisableButton("FirstPage");
				m_objMqButton.DisableButton("PreviousPage");
			}else{
				m_objMqButton.EnableButton("FirstPage");
				m_objMqButton.EnableButton("PreviousPage");
			}
			
			if (lngCurrentPage==lngPageCount) {
				m_objMqButton.DisableButton("LastPage");
				m_objMqButton.DisableButton("NextPage");
			}else{
				m_objMqButton.EnableButton("LastPage");
				m_objMqButton.EnableButton("NextPage");
			}
		}
		
		function GetCurrentTime()
		{
			var now = new Date();
			var hours = now.getHours();
			var minutes = now.getMinutes();
			var seconds = now.getSeconds()
			var timeValue = "" + ((hours >12) ? hours -12 :hours)
			if (timeValue == "0") timeValue = 12;
			timeValue += ((minutes < 10) ? ":0" : ":") + minutes
			timeValue += ((seconds < 10) ? ":0" : ":") + seconds
			timeValue += (hours >= 12) ? " PM" : " AM"
			return timeValue;
		}
		
		function AddNewUser()
		{
			var strUrl='TmplEditContacts.htm';
						
			m_objMainRef.OpenChildWindow(strUrl,"dlgAddOriginator",
				'scrollbars=yes,resizable=yes,toolbar=no,directories=no,width=1000,height=700');
		}
		
		function UpdateCurrentUser()
		{
			var strUrl='TmplEditContacts.htm?EID='+mstrECallerID;
						
			m_objMainRef.OpenChildWindow(strUrl,"dlgUpdateOriginator",
				'scrollbars=yes,resizable=yes,toolbar=no,directories=no,width=1000,height=700');
		}	
		
		function ShowMap()
		{
			m_objMainRef.OpenChildWindow(GetGoogleMapURL(), "dlgMap", 
				'scrollbars=yes,resizable=yes,toolbar=no,directories=no,width=1000,height=725');
		}
		
		function GetGoogleMapURL()
		{
			return "http://maps.google.com/maps?q=" + GetCurrentAddressQS();
		}
		
		function GetCurrentAddressQS()
		{
			var strQS="";
			var objCtrl;
			var strValue;
			
			var arrFields=new Array("<WC@FLD_ID>Address_1;0</WC@FLD_ID>", 
									"<WC@FLD_ID>Address_2;0</WC@FLD_ID>", 
									"<WC@FLD_ID>City;0</WC@FLD_ID>", 
									"<WC@FLD_ID>State_Province;0</WC@FLD_ID>",
									"<WC@FLD_ID>Zip;0</WC@FLD_ID>",
									"<WC@FLD_ID>Country;0</WC@FLD_ID>");
			
			var objFormElement=new CMqFormElement();
			
			for(x=0; x<arrFields.length; x++){
				lngFieldID=arrFields[x];
				
				if(lngFieldID!=""){
					var objField=m_objMainRef.m_objViewFields.Field(lngFieldID);
					if (objField){
						objFormElement.Initialize(objField.GetBoundControl(),objField.GetControlType(),'document');
						strValue=objFormElement.GetValue();
						if(strValue!=""){
							strQS+=g_MqRef.MqStr.MqEncodeURIComponent(strValue)+"+";
						}
					}
				}			
			}
			return strQS;
		}
		
		function LoadUserInfo(lngFieldID)
		{
			if(m_objMainRef){	
				var blnShowWin=true;
				var USER_ID_NONE="0";
				var USER_NAME_NONE="<None>";
	
				var objField=m_objMainRef.m_objViewFields.Field(lngFieldID);
				if (objField){
					var objFormElement=new CMqFormElement();
					var lngCtrlType=objField.GetControlType();
					objFormElement.Initialize(objField.GetBoundControl(),lngCtrlType,'document');
					var strID="";
					var strName="";
					if(lngCtrlType==CTRL_TYPE_COMBO){
						strID=objFormElement.GetValue();	
					}else{
						strName=objFormElement.GetValue();
					}			

					if((strID=="" && strName=="") || strID==USER_ID_NONE || strName==USER_NAME_NONE){
						blnShowWin=false;
					}
						
					if(blnShowWin){
						var strWinFeatures=m_objOpenerRef.GetWinFeaturesToCenter(1000, 750);	
						m_objOpenerRef.MqOpenURL("../HTML/wcUserView.asp?WCI=wciDispCallInfo&UserID=" + strID + "&UserName=" + g_MqRef.MqStr.MqEncodeURIComponent(strName) + "&QV=1","UserInfo" +lngFieldID,"scrollbars=no,resizable=yes,toolbar=no,directories=no" + strWinFeatures);
					}
				}
			}
		}
	</script>
</head>
<body topmargin="0" leftmargin="0" marginwidth ="0"  onload="OnLoadForm()" style="background-color:#f2f2f2">


<div style="    
	border: 2px solid rgb(72,93,129);
	border: 2px solid rgba(72,93,129,.95);
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;  
	-moz-box-shadow: 3px 3px 4px #999999;  
	-webkit-box-shadow: 3px 4px 4px #999999;
	box-shadow: 3px 3px 4px #999999;  
    background-color:#ffffff;
	margin : 5px; 
	padding : 5px;
	behavior:url(../theme/css/border-radius.htc);
	width:97%;height:95%;position:absolute;">

<script type="text/javascript">
	if(mblnIncomingCall){
		var strHTML='<table width="100%" height="30" class="HeaderTop" marginwidth="0" cellpadding="0" cellspacing="0" border="0">' + 
					'<tr><td width="10%" style="padding-left:10px"><img src="../../theme/images/images/phone.png" /></td>' + 
					'<td width="50%" align="left" class="SmallHeaderText"><div class="SmallHeaderText" id="headerSection"></div></td>' + 
					'<td width="40%" align="right" style="padding-right:50px; color:#003399" class="SmallHeaderText">' + GetCurrentTime() + '</td>' + 
					'</tr></table><br />';
		document.write(strHTML);
	}
</script>
		<div style="position:relative;width:100%;height:90%;">
			<div id="UserCard" class="ContactDetailsCard ContactDetailsCardHover" 
				style="position:absolute;width:65%;height:43%;padding:5px;" >

			<table width="100%" class="RecordTab" cellspacing="0" border="0">
				<tr>
					<td valign="top" style="width:100px">
						<div class="cardPicFrame" style="height:180px">
							<script type="text/javascript">
								if(mlngSecType==SEC_TYPE_COMPANY){
									document.write('<img id="callerPic_Def" class="cardPicSizer" name="callerPic_Def" src="../../theme/images/images/contacts/default/company.gif" style="display:none" />');								
								}else{
									document.write('<img id="callerPic_Def" class="cardPicSizer" name="callerPic_Def" src="../../theme/images/images/contacts/default/contact.gif" style="display:none" />');
								}
								document.write('<img id="callerPic_Usr" class="cardPicSizer" name="callerPic_Usr" src="../../theme/images/images/contacts/' + lngCallerID + '/contact.gif" style="display:none" />');
								
							</script>
						</div>
					</td>
					<td valign="top">
						<table style="margin-left:7px;width:100%">
							<tr>
							<Mq:Popup_GenFlds>
							</tr>
						</table>
					</td>
					
				</tr>
			</table>
			</div>

			<WC@HIDE_TB1>
			<div id="Toolbar1" style="position:absolute;width:20%;left:70%">
				
				<WC@SECURED_FEATURE_21>
				<div class="TextButton" style="margin-top:5px" onclick="UpdateCurrentUser()" id="btnUpdateCurrent"
				onmouseover="this.className='TextButton TextButtonOver'; document.getElementById('lnkUpdateCurrent').className='TextButton TextButtonOver'" 
				onmouseout="this.className='TextButton'; document.getElementById('lnkUpdateCurrent').className='TextButton'">
					<table height="100%">
						<tr>
							<td valign="middle" style="padding-top:5px; padding-right:5px; padding-left:5px">
								<script type="text/javascript">m_objMqButton.WriteButtonHTML("Arrow","UpdateCurrentUser()","Arrow",false,m_objMqButton.STATE_1,"");</script>
							</td>
							<td valign="middle" class="TextButton" id="lnkUpdateCurrent">Update Current Contact</td>
						</tr>
					</table>
				</div>
				<div class="TextButton" style="margin-top:5px" onclick="AddNewUser()" id="btnAddNew"
				onmouseover="this.className='TextButton TextButtonOver'; document.getElementById('lnkAddNew').className='TextButton TextButtonOver'" 
				onmouseout="this.className='TextButton'; document.getElementById('lnkAddNew').className='TextButton'">
					<table height="100%">
						<tr>
							<td valign="middle" style="padding-top:5px; padding-right:5px; padding-left:5px">
								<script type="text/javascript">m_objMqButton.WriteButtonHTML("Arrow","AddNewUser()","Arrow",false,m_objMqButton.STATE_1,"");</script>
							</td>
							<td valign="middle" class="TextButton" id="lnkAddNew"><script>document.write(g_MqRef.RESX["CREATE_NEW_CONTACTS"]);</script></td>
						</tr>
					</table>
				</div>
				
				</WC@SECURED_FEATURE_21>
				<div class="TextButton" style="margin-top:5px" onclick="ShowMap()" id="btnShowMap"
				onmouseover="this.className='TextButton TextButtonOver'; document.getElementById('lnkShowMap').className='TextButton TextButtonOver'" 
				onmouseout="this.className='TextButton'; document.getElementById('lnkShowMap').className='TextButton'">
					<table height="100%">
						<tr>
							<td valign="middle" style="padding-top:5px; padding-right:5px; padding-left:5px">
								<script type="text/javascript">m_objMqButton.WriteButtonHTML("Arrow","ShowMap()","Arrow",false,m_objMqButton.STATE_1,"");</script>
							</td>
							<td valign="middle" class="TextButton" id="lnkShowMap"><script>document.write(g_MqRef.RESX["SHOW_ADDRESS_IN_MAP"]);</script></td>
						</tr>
					</table>
				</div>
				</WC@HIDE_TB1>
		</div>
			
		<WC@HIDE_ISLST>
		<div id="islist" style="position:absolute;width:99%;top:51%;bo-rder:red thin solid;height:49%">
			<div>
				<font  class="normalfield">Show
				<script type="text/javascript">
					var strHTML='<a id="aQueryLst" onclick="MqActuator_OnClick(this);" class="actuator" href="#" mqonchange="GetQueryResults();" mqvalue="' + DEFAULT_BASE_QUERY + '" mqlist="QueryList">' + DEFAULT_BASE_QUERY_NAME + '</a>';
					strHTML+=" for " + mstrCallerName;
					document.write(strHTML);
				</script>:</font>
			</div>
			<div id="IssuesSection" style="height:80%;width:100%;margin:2px;" > <!-- class="ListBorder" -->
				<iframe  name="ifrLinkToIssue" id="ifrLinkToIssue" style="width:100%;height:100%;border:gray 1px solid;" 
				border="0" frameborder="0" marginheight="0" marginwidth="0" src="blank.htm"></iframe>
			
			</div>
			
			<p class="normalfield" style="position:absolute;left:2px;font-size:9px;width:28%;color:#666666;">* <script>document.write(g_MqRef.RESX["DBL_CLICK_TO_LOAD_ISSUE"]);</script></p>

			<table style="position:relative;" cellpadding='1' cellspacing='0' border='0' align="center">
				<tr>
					<td align='center' width="30">
						<script type="text/javascript">m_objMqButton.WriteButtonHTML("FirstPage","MoveFirst();","MoveFirst",false,m_objMqButton.STATE_EN,g_MqRef.RESX["BUTTON_FIRST_PAGE"]);</script>
					</td>
					<td align='center' width="30">
						<script type="text/javascript">m_objMqButton.WriteButtonHTML("PreviousPage","MovePrev();","PageDown",false,m_objMqButton.STATE_EN,g_MqRef.RESX["BUTTON_PREVIOUS_PAGE"]);</script>
					</td>
					<td>
						<div class='PageNavigation' id='PageCaption' style="padding-left:10px; padding-right:10px"></div>
					</td>
					<td align='center' width="30">
						<script type="text/javascript">m_objMqButton.WriteButtonHTML("NextPage","MoveNext();","PageUp",false,m_objMqButton.STATE_EN,g_MqRef.RESX["BUTTON_NEXT_PAGE"]);</script>
					</td>
					<td align='center' width="30">
						<script type="text/javascript">m_objMqButton.WriteButtonHTML("LastPage","MoveLast();","MoveLast",false,m_objMqButton.STATE_EN,g_MqRef.RESX["BUTTON_LAST_PAGE"]);</script>
					</td>
				</tr>
			</table>

		</div>
		</WC@HIDE_ISLST>

		</div>

	<WC@HIDE_CLSBTN> 
	<div style="position:absolute;bottom:5px;right:5px" >
	<script text="text/javascript">m_objMqButton.WriteButtonHTML("Close","window.close();","Close",false,m_objMqButton.STATE_1,g_MqRef.RESX["BUTTON_CLOSE"]);</script>
	</div>
	</WC@HIDE_CLSBTN>

<select id="QueryList" class="mqselect" size="3" 
        onmouseover="m_blnOverMenu=true;" onmouseout="m_blnOverMenu=false;"
        onclick="m_MqList.OnClick(this)" onkeypress="m_MqList.OnKeyPress(event,this)" 
        onblur="m_MqList.OnBlur();">
			<WC@QUERY_LIST></WC@QUERY_LIST>
</select>
    
</div>
</body>
</html>