function printWin(imageURL, legendURL, addressID, numRecords, category) {
	var pw = document.open('printWin.aspx?image=' + imageURL + '&legend=' + legendURL + '&addressID=' + addressID + '&records=' + numRecords + '&Category=' + category, 'PrintWin', 'status=yes,width=820,height=700,scrollbars=yes,menubar=no');
	pw.focus();
}

function emailWin(imageURL, legendURL, addressID, numRecords) {
	document.open('emailWin.aspx?image=' + imageURL + '&legend=' + legendURL + '&addressID=' + addressID + '&records=' + numRecords, 'PrintWin', 'status=no,width=550,height=520,scrollbars=no,menubar=no');
}

function legendWin(legendURL) {
	document.open('legendWin.aspx?legend=' + legendURL, 'AddressLegend', 'status=no,width=350,height=600,scrollbars=yes,menubar=no');
}

function calendarPicker(strField) {
	var w = window.open('DatePicker.aspx?field=' + strField, 'calendarPopup', 'width=250,height=190,resizable=no,toolbar=no,status=no');
	w.focus();
}

function disclaimer() {
	alert('CITY OF NEW ORLEANS - DISCLAIMER\n\nThis information is derived from the City of New Orleans Enterprise GIS Database. The data are not a survey-quality product and the end user assumes the risk of utilizing it. The City of New Orleans does not assume any liability for damages arising from errors, omissions, or use of this information. End users are advised to be aware of the published accuracy, date, compilation methods, and cartographic format as described in the accompanying metadata, and are advised to utilize these data appropriately.');
}

function googleMap(orgAddress,destAddress) {
	var g = window.open('/AddressSearch/google/googlemap.aspx?q1=' + orgAddress + '&q2=' + destAddress, 'GoogleMap', 'status=no,width=550,height=550,scrollbars=yes,menubar=no,resizable=yes');
	g.focus();
}

function redirectApp() {
	parent.document.location.href = 'http://cno-gisweb02.cityofno.com/AddressSearch_v2/default.aspx';
}

function reportDetails(strField) {
	var rd = window.open('gnp_reportDetails.aspx?addressId=' + strField, 'GNPReport', 'status=no,width=530,height=550,scrollbars=yes,menubar=no,resizable=yes');
	rd.focus();
}

function dispositionDetails(strField) {
	var dd = window.open('gnp_dispostionDetails.aspx?reportId=' + strField, 'GNPInspection', 'status=no,width=530,height=550,scrollbars=yes,menubar=no,resizable=yes');
	dd.focus();
}

function trafficSigns(strField) {
	var ts = window.open('pwi_trafficSigns.aspx?photoId=' + strField, 'PWITrafficSigns', 'status=no,width=800,height=600,scrollbars=yes,menubar=no,resizable=yes');
	ts.focus();
}