var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=68118017&x=3528',
		'title': '',
		'imageId': '68118017',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=68118018&x=3528',
		'title': '',
		'imageId': '68118018',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939614&x=3528',
		'title': '',
		'imageId': '67939614',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939610&x=3528',
		'title': '',
		'imageId': '67939610',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939624&x=3528',
		'title': '',
		'imageId': '67939624',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939611&x=3528',
		'title': '',
		'imageId': '67939611',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939613&x=3528',
		'title': '',
		'imageId': '67939613',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939612&x=3528',
		'title': '',
		'imageId': '67939612',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939619&x=3528',
		'title': '',
		'imageId': '67939619',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939623&x=3528',
		'title': '',
		'imageId': '67939623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939626&x=3528',
		'title': '',
		'imageId': '67939626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939615&x=3528',
		'title': '',
		'imageId': '67939615',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939622&x=3528',
		'title': '',
		'imageId': '67939622',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939627&x=3528',
		'title': '',
		'imageId': '67939627',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939617&x=3528',
		'title': '',
		'imageId': '67939617',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939621&x=3528',
		'title': '',
		'imageId': '67939621',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939620&x=3528',
		'title': '',
		'imageId': '67939620',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939616&x=3528',
		'title': '',
		'imageId': '67939616',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939625&x=3528',
		'title': '',
		'imageId': '67939625',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921335&docid=67939618&x=3528',
		'title': '',
		'imageId': '67939618',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3921335';

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