var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782711&x=5030',
		'title': '',
		'imageId': '69782711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782721&x=5030',
		'title': '',
		'imageId': '69782721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782720&x=5030',
		'title': '',
		'imageId': '69782720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782717&x=5030',
		'title': '',
		'imageId': '69782717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782715&x=5030',
		'title': '',
		'imageId': '69782715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782718&x=5030',
		'title': '',
		'imageId': '69782718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782709&x=5030',
		'title': '',
		'imageId': '69782709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782713&x=5030',
		'title': '',
		'imageId': '69782713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782714&x=5030',
		'title': '',
		'imageId': '69782714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782705&x=5030',
		'title': '',
		'imageId': '69782705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782708&x=5030',
		'title': '',
		'imageId': '69782708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782712&x=5030',
		'title': '',
		'imageId': '69782712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782716&x=5030',
		'title': '',
		'imageId': '69782716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782707&x=5030',
		'title': '',
		'imageId': '69782707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782719&x=5030',
		'title': '',
		'imageId': '69782719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782703&x=5030',
		'title': '',
		'imageId': '69782703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782706&x=5030',
		'title': '',
		'imageId': '69782706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782704&x=5030',
		'title': '',
		'imageId': '69782704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002915&docid=69782710&x=5030',
		'title': '',
		'imageId': '69782710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002915';

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