var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002086&docid=69766343&x=2511',
		'title': '',
		'imageId': '69766343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002086&docid=69766342&x=2511',
		'title': '',
		'imageId': '69766342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002086&docid=69766327&x=2511',
		'title': '',
		'imageId': '69766327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002086&docid=69766328&x=2511',
		'title': '',
		'imageId': '69766328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002086&docid=69766344&x=2511',
		'title': '',
		'imageId': '69766344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002086&docid=69766331&x=2511',
		'title': '',
		'imageId': '69766331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002086&docid=69766329&x=2511',
		'title': '',
		'imageId': '69766329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002086&docid=69766330&x=2511',
		'title': '',
		'imageId': '69766330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002086&docid=69766340&x=2511',
		'title': '',
		'imageId': '69766340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002086&docid=69766341&x=2511',
		'title': '',
		'imageId': '69766341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002086';

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