var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948528&x=4746',
		'title': '',
		'imageId': '69948528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948526&x=4746',
		'title': '',
		'imageId': '69948526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948527&x=4746',
		'title': '',
		'imageId': '69948527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948529&x=4746',
		'title': '',
		'imageId': '69948529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948530&x=4746',
		'title': '',
		'imageId': '69948530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948531&x=4746',
		'title': '',
		'imageId': '69948531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948532&x=4746',
		'title': '',
		'imageId': '69948532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948533&x=4746',
		'title': '',
		'imageId': '69948533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948534&x=4746',
		'title': '',
		'imageId': '69948534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948535&x=4746',
		'title': '',
		'imageId': '69948535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948536&x=4746',
		'title': '',
		'imageId': '69948536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948537&x=4746',
		'title': '',
		'imageId': '69948537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948538&x=4746',
		'title': '',
		'imageId': '69948538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948539&x=4746',
		'title': '',
		'imageId': '69948539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948540&x=4746',
		'title': '',
		'imageId': '69948540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948541&x=4746',
		'title': '',
		'imageId': '69948541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948542&x=4746',
		'title': '',
		'imageId': '69948542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948543&x=4746',
		'title': '',
		'imageId': '69948543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948544&x=4746',
		'title': '',
		'imageId': '69948544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009540&docid=69948545&x=4746',
		'title': '',
		'imageId': '69948545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009540';

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