var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818637&x=101',
		'title': '',
		'imageId': '69818637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818639&x=101',
		'title': '',
		'imageId': '69818639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818655&x=101',
		'title': '',
		'imageId': '69818655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818672&x=101',
		'title': '',
		'imageId': '69818672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818664&x=101',
		'title': '',
		'imageId': '69818664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818654&x=101',
		'title': '',
		'imageId': '69818654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818646&x=101',
		'title': '',
		'imageId': '69818646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818659&x=101',
		'title': '',
		'imageId': '69818659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818661&x=101',
		'title': '',
		'imageId': '69818661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818640&x=101',
		'title': '',
		'imageId': '69818640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818676&x=101',
		'title': '',
		'imageId': '69818676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818667&x=101',
		'title': '',
		'imageId': '69818667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818652&x=101',
		'title': '',
		'imageId': '69818652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818673&x=101',
		'title': '',
		'imageId': '69818673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818643&x=101',
		'title': '',
		'imageId': '69818643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818619&x=101',
		'title': '',
		'imageId': '69818619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818622&x=101',
		'title': '',
		'imageId': '69818622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818618&x=101',
		'title': '',
		'imageId': '69818618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818617&x=101',
		'title': '',
		'imageId': '69818617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818626&x=101',
		'title': '',
		'imageId': '69818626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818620&x=101',
		'title': '',
		'imageId': '69818620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818621&x=101',
		'title': '',
		'imageId': '69818621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818636&x=101',
		'title': '',
		'imageId': '69818636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004420&docid=69818638&x=101',
		'title': '',
		'imageId': '69818638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004420';

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