var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3988642&docid=69460405&x=4453',
		'title': '',
		'imageId': '69460405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988642&docid=69460403&x=4453',
		'title': '',
		'imageId': '69460403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988642&docid=69460404&x=4453',
		'title': '',
		'imageId': '69460404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988642&docid=69460406&x=4453',
		'title': '',
		'imageId': '69460406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988642&docid=69460399&x=4453',
		'title': '',
		'imageId': '69460399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988642&docid=69460400&x=4453',
		'title': '',
		'imageId': '69460400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988642&docid=69460402&x=4453',
		'title': '',
		'imageId': '69460402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988642&docid=69460407&x=4453',
		'title': '',
		'imageId': '69460407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988642&docid=69460401&x=4453',
		'title': '',
		'imageId': '69460401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988642&docid=69460408&x=4453',
		'title': '',
		'imageId': '69460408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3988642';

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