var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049444&x=45',
		'title': '',
		'imageId': '70049444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049443&x=45',
		'title': '',
		'imageId': '70049443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049450&x=45',
		'title': '',
		'imageId': '70049450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049439&x=45',
		'title': '',
		'imageId': '70049439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049441&x=45',
		'title': '',
		'imageId': '70049441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049446&x=45',
		'title': '',
		'imageId': '70049446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049438&x=45',
		'title': '',
		'imageId': '70049438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049455&x=45',
		'title': '',
		'imageId': '70049455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049458&x=45',
		'title': '',
		'imageId': '70049458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049456&x=45',
		'title': '',
		'imageId': '70049456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049452&x=45',
		'title': '',
		'imageId': '70049452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049459&x=45',
		'title': '',
		'imageId': '70049459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049449&x=45',
		'title': '',
		'imageId': '70049449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049448&x=45',
		'title': '',
		'imageId': '70049448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049447&x=45',
		'title': '',
		'imageId': '70049447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049437&x=45',
		'title': '',
		'imageId': '70049437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049454&x=45',
		'title': '',
		'imageId': '70049454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049453&x=45',
		'title': '',
		'imageId': '70049453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049451&x=45',
		'title': '',
		'imageId': '70049451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049445&x=45',
		'title': '',
		'imageId': '70049445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049440&x=45',
		'title': '',
		'imageId': '70049440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049442&x=45',
		'title': '',
		'imageId': '70049442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991927&docid=70049457&x=45',
		'title': '',
		'imageId': '70049457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991927';

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";
	})
}
