var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290704&x=2238',
		'title': '',
		'imageId': '69290704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290705&x=2238',
		'title': '',
		'imageId': '69290705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290706&x=2238',
		'title': '',
		'imageId': '69290706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290707&x=2238',
		'title': '',
		'imageId': '69290707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290708&x=2238',
		'title': '',
		'imageId': '69290708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290717&x=2238',
		'title': '',
		'imageId': '69290717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290709&x=2238',
		'title': '',
		'imageId': '69290709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290712&x=2238',
		'title': '',
		'imageId': '69290712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290710&x=2238',
		'title': '',
		'imageId': '69290710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290714&x=2238',
		'title': '',
		'imageId': '69290714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290713&x=2238',
		'title': '',
		'imageId': '69290713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290716&x=2238',
		'title': '',
		'imageId': '69290716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290715&x=2238',
		'title': '',
		'imageId': '69290715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290711&x=2238',
		'title': '',
		'imageId': '69290711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290719&x=2238',
		'title': '',
		'imageId': '69290719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290718&x=2238',
		'title': '',
		'imageId': '69290718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290722&x=2238',
		'title': '',
		'imageId': '69290722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290720&x=2238',
		'title': '',
		'imageId': '69290720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981054&docid=69290721&x=2238',
		'title': '',
		'imageId': '69290721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3981054';

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