var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3981166&docid=69292430&x=425',
		'title': '',
		'imageId': '69292430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981166&docid=69292431&x=425',
		'title': '',
		'imageId': '69292431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981166&docid=69292432&x=425',
		'title': '',
		'imageId': '69292432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981166&docid=69292433&x=425',
		'title': '',
		'imageId': '69292433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981166&docid=69292434&x=425',
		'title': '',
		'imageId': '69292434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981166&docid=69292435&x=425',
		'title': '',
		'imageId': '69292435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981166&docid=69292436&x=425',
		'title': '',
		'imageId': '69292436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981166&docid=69292437&x=425',
		'title': '',
		'imageId': '69292437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981166&docid=69292438&x=425',
		'title': '',
		'imageId': '69292438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981166&docid=69292439&x=425',
		'title': '',
		'imageId': '69292439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3981166';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
