var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3913600&docid=67727952&x=2658',
		'title': '',
		'imageId': '67727952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913600&docid=67727955&x=2658',
		'title': '',
		'imageId': '67727955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913600&docid=67727956&x=2658',
		'title': '',
		'imageId': '67727956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913600&docid=67727957&x=2658',
		'title': '',
		'imageId': '67727957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913600&docid=67727958&x=2658',
		'title': '',
		'imageId': '67727958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913600&docid=67727960&x=2658',
		'title': '',
		'imageId': '67727960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913600&docid=67727961&x=2658',
		'title': '',
		'imageId': '67727961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913600&docid=67727959&x=2658',
		'title': '',
		'imageId': '67727959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913600&docid=67727954&x=2658',
		'title': '',
		'imageId': '67727954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913600&docid=67727953&x=2658',
		'title': '',
		'imageId': '67727953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3913600';

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