var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888261&x=4337',
		'title': '',
		'imageId': '69888261',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888263&x=4337',
		'title': '',
		'imageId': '69888263',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888264&x=4337',
		'title': '',
		'imageId': '69888264',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888265&x=4337',
		'title': '',
		'imageId': '69888265',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888266&x=4337',
		'title': '',
		'imageId': '69888266',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888267&x=4337',
		'title': '',
		'imageId': '69888267',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888268&x=4337',
		'title': '',
		'imageId': '69888268',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888269&x=4337',
		'title': '',
		'imageId': '69888269',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888270&x=4337',
		'title': '',
		'imageId': '69888270',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888271&x=4337',
		'title': '',
		'imageId': '69888271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888272&x=4337',
		'title': '',
		'imageId': '69888272',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888273&x=4337',
		'title': '',
		'imageId': '69888273',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888274&x=4337',
		'title': '',
		'imageId': '69888274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888275&x=4337',
		'title': '',
		'imageId': '69888275',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888276&x=4337',
		'title': '',
		'imageId': '69888276',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888277&x=4337',
		'title': '',
		'imageId': '69888277',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888278&x=4337',
		'title': '',
		'imageId': '69888278',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888279&x=4337',
		'title': '',
		'imageId': '69888279',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007446&docid=69888280&x=4337',
		'title': '',
		'imageId': '69888280',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007446';

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