var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014466&docid=70066550&x=936',
		'title': '',
		'imageId': '70066550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014466&docid=70066552&x=936',
		'title': '',
		'imageId': '70066552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014466&docid=70066544&x=936',
		'title': '',
		'imageId': '70066544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014466&docid=70066545&x=936',
		'title': '',
		'imageId': '70066545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014466&docid=70066546&x=936',
		'title': '',
		'imageId': '70066546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014466&docid=70066543&x=936',
		'title': '',
		'imageId': '70066543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014466&docid=70066549&x=936',
		'title': '',
		'imageId': '70066549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014466&docid=70066553&x=936',
		'title': '',
		'imageId': '70066553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014466&docid=70066542&x=936',
		'title': '',
		'imageId': '70066542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014466&docid=70066547&x=936',
		'title': '',
		'imageId': '70066547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014466&docid=70066548&x=936',
		'title': '',
		'imageId': '70066548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014466&docid=70066551&x=936',
		'title': '',
		'imageId': '70066551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014466';

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