var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560733&x=5526',
		'title': '',
		'imageId': '69560733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560734&x=5526',
		'title': '',
		'imageId': '69560734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560736&x=5526',
		'title': '',
		'imageId': '69560736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560737&x=5526',
		'title': '',
		'imageId': '69560737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560738&x=5526',
		'title': '',
		'imageId': '69560738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560739&x=5526',
		'title': '',
		'imageId': '69560739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560740&x=5526',
		'title': '',
		'imageId': '69560740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560741&x=5526',
		'title': '',
		'imageId': '69560741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560742&x=5526',
		'title': '',
		'imageId': '69560742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560743&x=5526',
		'title': '',
		'imageId': '69560743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560744&x=5526',
		'title': '',
		'imageId': '69560744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560745&x=5526',
		'title': '',
		'imageId': '69560745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560746&x=5526',
		'title': '',
		'imageId': '69560746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560747&x=5526',
		'title': '',
		'imageId': '69560747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560748&x=5526',
		'title': '',
		'imageId': '69560748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560729&x=5526',
		'title': '',
		'imageId': '69560729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560730&x=5526',
		'title': '',
		'imageId': '69560730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560731&x=5526',
		'title': '',
		'imageId': '69560731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993251&docid=69560732&x=5526',
		'title': '',
		'imageId': '69560732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993251';

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