var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3901464&docid=67434171&x=552',
		'title': '',
		'imageId': '67434171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901464&docid=67434174&x=552',
		'title': '',
		'imageId': '67434174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901464&docid=67434169&x=552',
		'title': '',
		'imageId': '67434169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901464&docid=67434176&x=552',
		'title': '',
		'imageId': '67434176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901464&docid=67434175&x=552',
		'title': '',
		'imageId': '67434175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901464&docid=67434168&x=552',
		'title': '',
		'imageId': '67434168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901464&docid=67434170&x=552',
		'title': '',
		'imageId': '67434170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901464&docid=67434173&x=552',
		'title': '',
		'imageId': '67434173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901464&docid=67434177&x=552',
		'title': '',
		'imageId': '67434177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901464&docid=67434178&x=552',
		'title': '',
		'imageId': '67434178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901464&docid=67434172&x=552',
		'title': '',
		'imageId': '67434172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901464&docid=67434179&x=552',
		'title': '',
		'imageId': '67434179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3901464';

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